dmd/compiler/test/tools
Max Haughton 7a562ed9ad
Add RUN_RETURN to d_do_test and postprocess RUN_OUTPUT (#16006)
This is to support testing druntime with this tool.
2024-01-10 05:57:44 +08:00
..
dshell_prebuilt
common_funcs.sh
d_do_test.d Add RUN_RETURN to d_do_test and postprocess RUN_OUTPUT (#16006) 2024-01-10 05:57:44 +08:00
exported_vars.sh
paths.d
postscript.sh
README.md
sanitize_json.d
sh_do_test.sh
unit_test_runner.d

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.