diff options
| author | ruki <[email protected]> | 2021-09-18 13:40:05 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-09-18 13:40:05 +0800 |
| commit | 52164d9f27178104817dd5478604ea433b543964 (patch) | |
| tree | 37dcf756fa3459f9c6191992bff8ce83589a7100 /tests/modules/heap/test.lua | |
| parent | 0538488ab5ed41c71856a5a9849ddf9a8118ddd0 (diff) | |
fix heap tests
Diffstat (limited to 'tests/modules/heap/test.lua')
| -rw-r--r-- | tests/modules/heap/test.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/modules/heap/test.lua b/tests/modules/heap/test.lua index 098116f28..fc11a49d2 100644 --- a/tests/modules/heap/test.lua +++ b/tests/modules/heap/test.lua @@ -1,6 +1,9 @@ import("core.base.heap") function test_cdataheap(t) + if not xmake.luajit() then + return + end local h = heap.cdataheap{ size = 100, ctype = [[ |
