From f3f7bcf1e69bc5a3b84d7c4285846c1abf7de5c2 Mon Sep 17 00:00:00 2001 From: Shane Slattery Date: Wed, 12 Apr 2023 01:09:45 +0100 Subject: [PATCH] Add extra tests --- .gitignore | 4 +++- .vscode/tasks.json | 26 ++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index a9d1c39..43264ff 100644 --- a/.gitignore +++ b/.gitignore @@ -45,4 +45,6 @@ build/ mbaTest isubTest bcfTest -TestAll \ No newline at end of file +cffTest +TestAll +TestAll_NoObfusC \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json index d311415..c3e44b9 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -55,6 +55,32 @@ "reveal": "always", "panel": "dedicated" } + }, + { + "label": "Run All Tests (No Obfuscation)", + "type": "shell", + "command": "/usr/bin/clang++-15", + "options": { + "cwd": "${workspaceFolder}/tests" + }, + "args": [ + "-g", + "-std=c++2b", + "-DOBFUSC_TEST_BUILD_ALL", + "${fileDirname}/**.cpp", + "-o", + "${fileDirname}/${fileBasenameNoExtension}_NoObfusC" + ], + "problemMatcher": [ + "$gcc" + ], + "group": { + "kind": "build" + }, + "presentation": { + "reveal": "always", + "panel": "dedicated" + } } ] } \ No newline at end of file