Skip to content

Commit e3be777

Browse files
committed
...
1 parent 3d120c0 commit e3be777

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

core/src/tbox/inc/linux/tbox.config.h

-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@
143143
# define TB_CONFIG_POSIX_HAVE_PTHREAD_SETAFFINITY_NP 1
144144
#endif
145145
#define TB_CONFIG_POSIX_HAVE_SOCKET 1
146-
#define TB_CONFIG_POSIX_HAVE_POLL 1
147146
#define TB_CONFIG_POSIX_HAVE_OPENDIR 1
148147
#define TB_CONFIG_POSIX_HAVE_DLOPEN 1
149148
#define TB_CONFIG_POSIX_HAVE_OPEN 1

tests/run.lua

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
-- imports
22
import("core.base.task")
33
import("core.base.option")
4+
import("runner", {rootdir = os.scriptdir()})
45

56
local params = {}
67

@@ -11,7 +12,9 @@ if option.get("diagnosis") then table.insert(params, "-D") end
1112

1213
function _run_test(script)
1314
assert(script:endswith("test.lua"))
14-
os.execv(os.programfile(), table.join("lua", params, path.join(os.scriptdir(), "runner.lua"), script))
15+
-- os.execv(os.programfile(), table.join("lua", params, path.join(os.scriptdir(), "runner.lua"), script))
16+
runner(script)
17+
print("_run_test end")
1518
end
1619

1720
-- run test with the given name
@@ -47,6 +50,7 @@ function _run_test_filter(name)
4750
end
4851

4952
for _, v in ipairs(tests) do
53+
print("_run_test", v)
5054
_run_test(v)
5155
end
5256
cprint("> %d test(s) succeed", #tests)

0 commit comments

Comments
 (0)