Skip to content

Commit d0b2151

Browse files
authored
Reorganize stdlib tests (#18270)
Use a compileDir with a special directory instead of the previous symlink-based setup. Symlinks seem not to work correctly on Windows and the new setup is also much simpler.
2 parents 1254e14 + d6ad079 commit d0b2151

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+1
-24
lines changed

compiler/test/dotty/tools/dotc/CompilationTests.scala

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ class CompilationTests {
5050
compileFilesInDir("tests/pos-custom-args/no-experimental", defaultOptions.and("-Yno-experimental")),
5151
compileFilesInDir("tests/pos-custom-args/strict", defaultOptions.and("-source", "future", "-deprecation", "-Xfatal-warnings")),
5252
compileDir("tests/pos-special/java-param-names", defaultOptions.withJavacOnlyOptions("-parameters")),
53+
compileDir("tests/pos-special/stdlib", defaultOptions),
5354
compileFile(
5455
// succeeds despite -Xfatal-warnings because of -nowarn
5556
"tests/neg-custom-args/fatal-warnings/xfatalWarnings.scala",
File renamed without changes.
File renamed without changes.

tests/pos/stdlib/IndexedSeq.scala

-1
This file was deleted.

tests/pos/stdlib/Iterable.scala

-1
This file was deleted.

tests/pos/stdlib/IterableOnce.scala

-1
This file was deleted.

tests/pos/stdlib/Iterator.scala

-1
This file was deleted.

tests/pos/stdlib/LinearSeq.scala

-1
This file was deleted.

tests/pos/stdlib/Map.scala

-1
This file was deleted.

tests/pos/stdlib/Seq.scala

-1
This file was deleted.

tests/pos/stdlib/StrictOptimizedIterableOps.scala

-1
This file was deleted.

tests/pos/stdlib/StrictOptimizedSeqOps.scala

-1
This file was deleted.

tests/pos/stdlib/StringOps.scala

-1
This file was deleted.

tests/pos/stdlib/View.scala

-1
This file was deleted.

tests/pos/stdlib/immutable_Iterable.scala

-1
This file was deleted.

tests/pos/stdlib/immutable_List.scala

-1
This file was deleted.

tests/pos/stdlib/immutable_Seq.scala

-1
This file was deleted.

tests/pos/stdlib/mutable_Buffer.scala

-1
This file was deleted.

tests/pos/stdlib/mutable_Builder.scala

-1
This file was deleted.

tests/pos/stdlib/mutable_Growable.scala

-1
This file was deleted.

tests/pos/stdlib/mutable_Iterable.scala

-1
This file was deleted.

tests/pos/stdlib/mutable_ListBuffer.scala

-1
This file was deleted.

tests/pos/stdlib/mutable_MutationTracker.scala

-1
This file was deleted.

tests/pos/stdlib/mutable_Seq.scala

-1
This file was deleted.

tests/pos/stdlib/mutable_Shrinkable.scala

-1
This file was deleted.

tests/pos/stdlib/mutable_StringBuilder.scala

-1
This file was deleted.

tests/pos/stdlib/runtime_PStatics.scala

-1
This file was deleted.

0 commit comments

Comments
 (0)