Commit graph

22 commits

Author SHA1 Message Date
Dennis
3daeb3a33d
Improve diff based AUTO_UPDATE (#20703)
Co-authored-by: Dennis Korpel <dennis@sarc.nl>
2025-01-15 23:25:32 +01:00
Dennis
1bdea38933
Implement AUTO_UPDATE for multiple TEST_OUTPUT blocks (#20652) 2025-01-08 07:47:51 +08:00
Royal Simpson Pinto
45e4a09a3e
feat(errors): enable verrors=context globally (#20576)
Signed-off-by: royalpinto007 <royalpinto007@gmail.com>
2025-01-03 05:17:59 +08:00
Dennis
04025fdba6
Add --ftime-trace to dmd (#16363)
* Add --ftime-trace to dmd

* Refactor timetrace code for dmd.

Pass Outbuffer by ref,
move timetrace filename logic to main.d
2024-07-29 14:48:03 +02:00
Johan Engelen
b5130fd880 Fix bugzilla issue 24623 followup.
Rename CppRuntime to _LLVM and _GNU
Also accept c++ for cxx in target string.
2024-06-30 13:45:31 +02:00
Johan Engelen
0e174c920f Fix d_do_test for older host compiler without this PR. 2024-06-22 12:42:31 +02:00
Johan Engelen
349b493810 Fix bugzilla issue 24623: Rename CppRuntime_Clang/Gcc to CppRuntime_libcpp/libstdcpp. Add libcpp and libstdcpp -target= option recognition. 2024-06-22 11:55:11 +02:00
Brian Callahan
a3eb99191d Fix Bugzilla 24598 2024-06-11 07:20:29 +02:00
Martin Kinkelin
e9f1e1dfa4 Remove some more OMF leftovers 2024-05-26 02:20:49 +02:00
Martin Kinkelin
47771d49fd Get rid of obsolete DMC special cases 2024-05-25 19:34:44 +02:00
Martin Kinkelin
6d69608aae Get rid of some obsolete optlink workarounds 2024-05-25 18:07:16 +02:00
Martin Kinkelin
920678a820 Revise remaining 32{omf,mscoff} usages 2024-05-25 16:35:11 +02:00
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
Richard (Rikki) Andrew Cattermole
bc7dd498dd
Attempt to prevent a race condition with dmd test runner when same file but different extension is used (#16330) 2024-03-26 10:54:00 +02:00
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
Martin Kinkelin
d03a4d43af DMD tests on Windows: Default CC to cl.exe in PATH for MSVC models
Instead of defaulting to some old hardcoded version.
2023-12-23 17:05:05 +08:00
Martin Kinkelin
f3ad118c61 Azure CI: Migrate from legacy MODEL=32mscoff to MODEL=32
Incl. fixing up the d_do_test.d tool to work properly with MODEL=32
on Windows.

And somewhat improve the documentation of MODEL=32omf, nowadays used
for the 32-bit OMF toolchain.
2023-12-16 03:11:51 +01:00
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
Dennis Korpel
ef060a7da9 d_do_test: allow separately compiling c sources 2023-02-07 00:27:49 +01:00
Dennis Korpel
ed9869ecc6 Test .h files 2022-11-13 20:10:45 +00:00
Iain Buclaw
09d04945bd Fix build script paths to work with new merged repository structure
Co-Authored-By: Geod24 <pro.mathias.lang@gmail.com>
Co-Authored-By: Martin Kinkelin <noone@nowhere.com>
Co-Authored-By: Vladimir Panteleev <git@cy.md>
2022-07-09 23:49:27 +02:00
Iain Buclaw
6374bb87b7 Move dmd files into compiler/ 2022-07-09 18:53:07 +02:00