Skip to content

Add a test that showcases #462 #464

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions test/dotc/tests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class tests extends CompilerTest {
val dotcDir = "./src/dotty/"
val picklingDir = "./tests/pickling"

/*
@Test def pickle_pickleOK = compileDir(picklingDir, testPickling)
@Test def pickle_pickling = compileDir(dotcDir + "tools/dotc/core/pickling/", testPickling)

Expand Down Expand Up @@ -76,9 +77,12 @@ class tests extends CompilerTest {
@Test def pos_packageObj = compileFile(posDir, "i0239")
@Test def pos_anonClassSubtyping = compileFile(posDir, "anonClassSubtyping")
@Test def pos_extmethods = compileFile(posDir, "extmethods")
*/
@Test def pos_classpath = compileFile(posDir, "empty-foo", List("-d" , "./", "#runs", "30"))
@Test def pos_classpath1 = compileFile(posDir, "empty-foo", List("-d" , "./", "#runs", "30"))

@Test def pos_all = compileFiles(posDir)

//@Test def pos_all = compileFiles(posDir)
/*


@Test def new_all = compileFiles(newDir, twice)
Expand Down Expand Up @@ -182,6 +186,6 @@ class tests extends CompilerTest {

val javaDir = "./tests/pos/java-interop/"
@Test def java_all = compileFiles(javaDir)
*/
//@Test def dotc_compilercommand = compileFile(dotcDir + "tools/dotc/config/", "CompilerCommand")
}
3 changes: 3 additions & 0 deletions tests/pos/empty-foo.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package foo
object Bar {
}