aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-01-07 13:18:09 +0100
committerdec05eba <dec05eba@protonmail.com>2023-01-07 13:18:09 +0100
commit2348c9fc53045ab4576757ff5df1b93146ceebe3 (patch)
tree175d2c6286728bb4501f16d44144914fcfbf8e92 /src
parentd7d46f8537f31ea0e0b0d391d53ac93c276cb53e (diff)
Set default sanitize level for tests to none
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 2fc470e..c67ac68 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -179,7 +179,7 @@ static void usageTest()
printf(" project_path The directory containing a project.conf file - Optional (default: current directory)\n");
printf(" --debug|--release Optimization level to build project and dependencies with (if not a system package) - Optional (default: --debug)\n");
printf(" --build|-b Build tests but don't run them\n");
- printf(" --sanitize=option Add runtime address/undefined behavior sanitization. Program can be up to 3 times slower and use 10 times as much RAM. Ignored if compiler doesn't support sanitization - Optional (default: address)\n");
+ printf(" --sanitize=option Add runtime address/undefined behavior sanitization. Program can be up to 3 times slower and use 10 times as much RAM. Ignored if compiler doesn't support sanitization - Optional (default: none)\n");
printf(" --file Specify file to test, path to test file should be defined after this. Can be defined multiple times to test multiple files - Optional (default: not used), Only applicable for Zig\n");
printf(" --all-files Test all files - Optional (default: not used), Only applicable for Zig\n");
printf(" --linker=linker The linker to use. \"lld\" or \"gold\" is the default linker when using gcc\n");
@@ -693,7 +693,7 @@ static int testProject(int argc, const _tinydir_char_t **argv)
FileString projectPath;
vector<FileString> filesToTest;
bool testAllFiles = false;
- Sanitize sanitize = Sanitize::ADDRESS;
+ Sanitize sanitize = Sanitize::NONE;
bool sanitize_defined = false;
bool buildOnly = false;
bool skipCompile = false;