Compare commits

...

3 commits

Author SHA1 Message Date
Dennis Korpel
d3a900e520 Merge remote-tracking branch 'upstream/master' into stable 2025-03-09 17:10:34 +01:00
Iain Buclaw
80d2a80229
Fix failing rdmd_test introduced by a51571a (#480)
* Fix failing rdmd_test introduced by a51571a

* GHA: Test MacOS 13 only
2025-02-10 07:42:26 +08:00
Iain Buclaw
d63c63b9c3 Merge remote-tracking branch 'upstream/master' into stable 2024-07-01 22:50:42 +00:00
2 changed files with 3 additions and 3 deletions

View file

@ -12,7 +12,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ macos-latest, ubuntu-latest, windows-latest ] os: [ macos-13, ubuntu-latest, windows-latest ]
dc: [ dmd-latest, ldc-latest ] dc: [ dmd-latest, ldc-latest ]
name: ${{ matrix.os }}, ${{ matrix.dc }} name: ${{ matrix.os }}, ${{ matrix.dc }}
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}

View file

@ -140,12 +140,12 @@ void runCompilerAgnosticTests(string rdmdApp, string defaultCompiler, string mod
/* Test help string output when no arguments passed. */ /* Test help string output when no arguments passed. */
auto res = execute([rdmdApp]); auto res = execute([rdmdApp]);
enforce(res.status == 1, res.output); enforce(res.status == 1, res.output);
enforce(res.output.canFind("Usage: rdmd [RDMD AND DMD OPTIONS]... program [PROGRAM OPTIONS]...")); enforce(res.output.canFind("Usage: rdmd [RDMD AND DMD OPTIONS...] program [PROGRAM OPTIONS...]"));
/* Test --help. */ /* Test --help. */
res = execute([rdmdApp, "--help"]); res = execute([rdmdApp, "--help"]);
enforce(res.status == 0, res.output); enforce(res.status == 0, res.output);
enforce(res.output.canFind("Usage: rdmd [RDMD AND DMD OPTIONS]... program [PROGRAM OPTIONS]...")); enforce(res.output.canFind("Usage: rdmd [RDMD AND DMD OPTIONS...] program [PROGRAM OPTIONS...]"));
string helpText = res.output; string helpText = res.output;