Skip to content

Commit f9a2a0a

Browse files
committed
Re-enable missing cmdTests
It might have been disabled by mistake because bootstrapCmdTests was assumed to be the set of tests for the bootstrapped compiler. The second is an extension for the second with tests that can only be run on the bootstrapped compiler. It is now renamed to bootstrappedOnlyCmdTests to make sure we avoid this potential confusion. Fixes #14416
1 parent 733af41 commit f9a2a0a

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/ci.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ jobs:
112112
- name: Cmd Tests
113113
run: |
114114
./project/scripts/sbt ";dist/pack; scala3-bootstrapped/compile; scala3-bootstrapped/test;sjsSandbox/run;sjsSandbox/test;sjsJUnitTests/test;sjsCompilerTests/test ;sbt-test/scripted scala2-compat/* ;configureIDE ;stdlib-bootstrapped/test:run ;stdlib-bootstrapped-tasty-tests/test; scala3-compiler-bootstrapped/scala3CompilerCoursierTest:test"
115-
./project/scripts/bootstrapCmdTests
115+
./project/scripts/cmdTests
116+
./project/scripts/bootstrappedOnlyCmdTests
116117
117118
- name: MiMa
118119
run: |
@@ -447,7 +448,8 @@ jobs:
447448
- name: Test
448449
run: |
449450
./project/scripts/sbt ";dist/pack ;scala3-bootstrapped/compile ;scala3-bootstrapped/test;sjsSandbox/run;sjsSandbox/test;sjsJUnitTests/test;sjsCompilerTests/test ;sbt-test/scripted scala2-compat/* ;configureIDE ;stdlib-bootstrapped/test:run ;stdlib-bootstrapped-tasty-tests/test"
450-
./project/scripts/bootstrapCmdTests
451+
./project/scripts/cmdTests
452+
./project/scripts/bootstrappedOnlyCmdTests
451453
452454
publish_nightly:
453455
runs-on: [self-hosted, Linux]

tests/pos/i12973.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Compiled and placed on the REPL classpath in the bootstrapCmdTests script
1+
// Compiled and placed on the REPL classpath in the bootstrappedOnlyCmdTests script
22
// to test that launching the REPL with `scala -cp <path>` works (issue #12973)
33
case class Bug12973():
44
def check = s"$productPrefix is fixed"

0 commit comments

Comments
 (0)