dmd/compiler/test/tools
Johan Engelen afc38e9dca
Make distinction between CC and CXX in the testsuite. (#16434)
Clang makes a distinction between clang and clang++. In particular, clang++ will give a warning when it is passed `.c` source files; and the extra output warning text means that dmd testsuite output checking fails. The warning can be silenced (-Wno-deprecated) but then other tests will fail because `#ifdef __cplusplus` will be true, leading to header file import issues.
2024-05-03 07:30:55 +08:00
..
dshell_prebuilt Make distinction between CC and CXX in the testsuite. (#16434) 2024-05-03 07:30:55 +08:00
common_funcs.sh
d_do_test.d Make distinction between CC and CXX in the testsuite. (#16434) 2024-05-03 07:30:55 +08:00
exported_vars.sh
paths.d Fix build script paths to work with new merged repository structure 2022-07-09 23:49:27 +02:00
postscript.sh
README.md
sanitize_json.d
sh_do_test.sh
unit_test_runner.d Fix build script paths to work with new merged repository structure 2022-07-09 23:49:27 +02:00

Tools

These files implement tools and utilities used by the test suite.

File Purpose
d_do_test.d Test runner for all non-unit tests
dshell_prebuilt.d Common utilities for dshell tests
paths.d Definitions for common environment variables (e.g. DMD)
sanitize_json.d Remove platform-specific information from dmd's JSON output (-X)
unit_test_runner.d Test runner for unit tests

The following files are deprecated and will be removed in the future.

File Purpose
sh_do_test.sh Old test runner, superseded by d_do_test.d
postscript.sh Setup before running bash scripts defined as POSTSCRIPT
common_funcs.sh Common functions for shell scripts

Refer to test/README.md for more general information on the test suite.