dmd/compiler/test/tools
Martin Kinkelin 783218fe53
d_do_test: Make $p: search from the right, not the left (#15745)
So that e.g. `$p:phobos$` for an actual path of `/phobos/phobos`
matches the whole path instead of eagerly stopping at `/phobos`.
See https://github.com/dlang/phobos/pull/8831#issuecomment-1783891649.
2023-10-30 16:15:39 +02:00
..
dshell_prebuilt
common_funcs.sh
d_do_test.d d_do_test: Make $p: search from the right, not the left (#15745) 2023-10-30 16:15:39 +02: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.