dmd/compiler/test/unit
Andrei Horodniceanu a903c10e7c compiler/test/unit/semantic/imports.d: call deinitializeDMD
There is the unit/deinitialization.d test that checks that variables
are empty before calling `initDMD`. If this test happens to be run
right before that one then the latter will fail.

Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
2024-06-08 12:37:47 +02:00
..
compilable add SearchOpt to enum type (#15889) 2023-12-08 14:56:03 +08:00
interfaces reduce Loc.sizeof by 8 bytes (#15199) 2023-05-08 17:07:38 -07:00
lexer Enhanced version of dip1036 implementation (#15715) 2024-01-19 22:21:40 -08:00
objc/protocols reduce Loc.sizeof by 8 bytes (#15199) 2023-05-08 17:07:38 -07:00
parser Add test for parser instantiated with ASTBase in the testsuite (#16166) 2024-02-08 11:51:54 +02:00
semantic compiler/test/unit/semantic/imports.d: call deinitializeDMD 2024-06-08 12:37:47 +02:00
support/data Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
deinitialization.d dmd: Move default field initializers to runtime 2024-02-12 21:17:17 +01:00
frontend.d try out replacing Dsymbol.error() part 5 (#15663) 2023-10-09 19:48:25 -07:00
README.md Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
self_test.d Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00
support.d extricate location.d into its own file 2022-12-25 06:32:05 +01:00
triple.d target: Rename is64bit to isX86_64 (#15398) 2023-07-11 11:29:25 +03:00

Extended unit tests

Tests in this directory will be compiled into a single executable which links with the DMD frontend and runs all unittest blocks defined in this directory.

Purpose

These tests are intended to test single components (e.g. the lexer) in isolation instead of relying on full end-to-end tests as done for compilable, ... .

Remarks

Refer to test/README.md for general information and the test guidelines.