aboutsummaryrefslogtreecommitdiff
path: root/test/run_tests.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2015-11-27 21:24:11 -0700
committerAndrew Kelley <superjoe30@gmail.com>2015-11-27 21:24:47 -0700
commitcb4773ce29fbac856811f69a3fb5b17b7e83d44d (patch)
tree5c87a210beae92c243dcd7818865447b35d44be5 /test/run_tests.cpp
parent4cc95174a77f7cbb42b371bb892c55a8349bc7fa (diff)
downloadzig-cb4773ce29fbac856811f69a3fb5b17b7e83d44d.tar.gz
zig-cb4773ce29fbac856811f69a3fb5b17b7e83d44d.zip
add root export declaration which is overridable by command line options
Diffstat (limited to 'test/run_tests.cpp')
-rw-r--r--test/run_tests.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/run_tests.cpp b/test/run_tests.cpp
index 63f83afe59..e20eaf8405 100644
--- a/test/run_tests.cpp
+++ b/test/run_tests.cpp
@@ -39,6 +39,10 @@ static void add_simple_case(const char *case_name, const char *source, const cha
test_case->compiler_args.append("build");
test_case->compiler_args.append(tmp_source_path);
+ test_case->compiler_args.append("--export");
+ test_case->compiler_args.append("exe");
+ test_case->compiler_args.append("--name");
+ test_case->compiler_args.append("test");
test_case->compiler_args.append("--output");
test_case->compiler_args.append(tmp_exe_path);
test_case->compiler_args.append("--release");