summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2017-05-22 18:36:15 +0800
committerruki <[email protected]>2017-05-22 18:36:15 +0800
commite97cf8fb89d7d46abb3a68c6c220a272fbc5dbf7 (patch)
tree665ae6a4a026597e73aa4577ff881dff816a18c1
parent065d783675adfb544dd0b6daec893e63176f0fb7 (diff)
modify process test
-rw-r--r--makefile2
-rw-r--r--tests/modules/process/test.lua9
2 files changed, 1 insertions, 10 deletions
diff --git a/makefile b/makefile
index d8cd01cf3..4edf55d86 100644
--- a/makefile
+++ b/makefile
@@ -82,7 +82,7 @@ uninstall:
@echo ok!
test:
- @xmake lua tests/test.lua $(name)
+ @xmake lua --backtrace tests/test.lua $(name)
@echo ok!
.PHONY: tip build install uninstall
diff --git a/tests/modules/process/test.lua b/tests/modules/process/test.lua
index aec56cfc6..64c975b29 100644
--- a/tests/modules/process/test.lua
+++ b/tests/modules/process/test.lua
@@ -49,13 +49,4 @@ function main()
end
}
assert(ok == nil)
-
- ok = try
- {
- function ()
- process.open("thismustnotbeaprogramname")
- return true
- end
- }
- assert(ok == nil)
end