From ab375213d5ef8bb3b3b9cba42a8cc95c5acb6ee5 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sat, 22 Sep 2018 22:57:51 +0800 Subject: Testrunner - Remove debuginfo (smaller output) --- tools/testrunner/main.cpp | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'tools') diff --git a/tools/testrunner/main.cpp b/tools/testrunner/main.cpp index 4dafe508..3d66d070 100644 --- a/tools/testrunner/main.cpp +++ b/tools/testrunner/main.cpp @@ -103,7 +103,8 @@ bool run_compiler(const ::helpers::path& source_file, const ::helpers::path& out // Force optimised and debuggable args.push_back("-O"); - args.push_back("-g"); + // TODO: Only turn debug on when requested by the caller + //args.push_back("-g"); args.push_back("-L"); args.push_back("output"); @@ -386,14 +387,6 @@ int main(int argc, const char* argv[]) else continue; } - -#ifdef __linux__ - // Run `strip` on the test (if on linux) - // XXX: Make this cleaner, or remove the need for it (by dynamic linking libstd) - if( !run_executable("/usr/bin/strip", { "strip", outfile.str().c_str() }, "/dev/null") ) - { - } -#endif } else { -- cgit v1.2.3