stuff-from-scratch/test/bootstrap_tests.sh

38 lines
1.5 KiB
Bash
Raw Permalink Normal View History

2023-12-18 10:16:31 +00:00
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
CORE_SRC_DIR=$SCRIPT_DIR/../src/base/core
g++ $SCRIPT_DIR/test_runner.cpp \
2023-12-20 16:58:22 +00:00
$CORE_SRC_DIR/system/process/CommandLineArgs.cpp \
2023-12-18 10:16:31 +00:00
$CORE_SRC_DIR/base_types/Error.cpp \
$CORE_SRC_DIR/base_types/Index.cpp \
2024-01-21 16:27:30 +00:00
$CORE_SRC_DIR/base_types/Char.cpp \
2023-12-18 10:16:31 +00:00
$CORE_SRC_DIR/data_structures/String.cpp \
$CORE_SRC_DIR/filesystem/File.cpp \
2023-12-20 16:58:22 +00:00
$CORE_SRC_DIR/filesystem/FileSystemPath.cpp \
$CORE_SRC_DIR/logging/Logger.cpp \
$CORE_SRC_DIR/logging/ConsoleLogger.cpp \
$CORE_SRC_DIR/serialization/yaml/YamlDocument.cpp \
$CORE_SRC_DIR/serialization/yaml/YamlDocuments.cpp \
$CORE_SRC_DIR/serialization/yaml/YamlParser.cpp \
$CORE_SRC_DIR/streams/Stream.cpp \
$CORE_SRC_DIR/streams/StringStream.cpp \
2023-12-20 16:58:22 +00:00
$CORE_SRC_DIR/time/Time.cpp \
2023-12-18 10:16:31 +00:00
$SCRIPT_DIR/test_utils/TestCaseRunner.cpp \
2023-12-20 16:58:22 +00:00
$SCRIPT_DIR/core/TestFileSystemPath.cpp \
2023-12-18 10:16:31 +00:00
$SCRIPT_DIR/core/TestString.cpp \
$SCRIPT_DIR/core/TestVector.cpp \
$SCRIPT_DIR/core/TestYamlParser.cpp \
2023-12-20 16:58:22 +00:00
-o test_runner -g \
2023-12-18 10:16:31 +00:00
-I$SCRIPT_DIR/test_utils \
-I$CORE_SRC_DIR \
-I$CORE_SRC_DIR/encoding \
2023-12-20 16:58:22 +00:00
-I$CORE_SRC_DIR/logging \
2023-12-18 10:16:31 +00:00
-I$CORE_SRC_DIR/data_structures \
-I$CORE_SRC_DIR/base_types \
-I$CORE_SRC_DIR/memory \
2023-12-20 16:58:22 +00:00
-I$CORE_SRC_DIR/system/process \
-I$CORE_SRC_DIR/streams \
-I$CORE_SRC_DIR/serialization/yaml \
-I$CORE_SRC_DIR/time \
2023-12-20 16:58:22 +00:00
-I$CORE_SRC_DIR/filesystem