summaryrefslogtreecommitdiff
path: root/tests/c_console
diff options
context:
space:
mode:
authorruki <[email protected]>2016-02-22 08:49:20 +0800
committerruki <[email protected]>2016-02-22 08:49:20 +0800
commitec6fd4eeca3fa468cffb25b472eb349c1fed06aa (patch)
tree3dbbb42e44310d8ae80ba2361a9f34bbbb90da13 /tests/c_console
parent762f3cd87615acbed339931bfb56c2b75c44cfa0 (diff)
modify tests script
Diffstat (limited to 'tests/c_console')
-rwxr-xr-xtests/c_console/src/main.c7
-rwxr-xr-xtests/c_console/xmake.lua33
2 files changed, 0 insertions, 40 deletions
diff --git a/tests/c_console/src/main.c b/tests/c_console/src/main.c
deleted file mode 100755
index 9ae580511..000000000
--- a/tests/c_console/src/main.c
+++ /dev/null
@@ -1,7 +0,0 @@
-#include <stdio.h>
-
-int main(int argc, char** argv)
-{
- printf("hello world!\n");
- return 0;
-}
diff --git a/tests/c_console/xmake.lua b/tests/c_console/xmake.lua
deleted file mode 100755
index 889055a4d..000000000
--- a/tests/c_console/xmake.lua
+++ /dev/null
@@ -1,33 +0,0 @@
--- the debug mode
-if is_mode("debug") then
-
- -- enable the debug symbols
- set_symbols("debug")
-
- -- disable optimization
- set_optimize("none")
-end
-
--- the release mode
-if is_mode("release") then
-
- -- set the symbols visibility: hidden
- set_symbols("hidden")
-
- -- enable fastest optimization
- set_optimize("fastest")
-
- -- strip all symbols
- set_strip("all")
-end
-
--- add target
-target("c_console")
-
- -- set kind
- set_kind("binary")
-
- -- add files
- add_files("src/*.c")
-
-