-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Enable compiler/* tests for Scala.js #7309
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
Conversation
@neshkeev I wonder if it would make sense to convert the whitelist of tests into a blacklist. This could make simpler to enable new tests. Would you have a look at that option? Do you know what is the proportion of tests we run? |
@nicolasstucki , great idea, I have been thinking about it recently. Blacklist proposal I was thinking about introducing a new operator either (dir / "shared/src/test/scala/org/scalajs/testsuite/compiler" ** (("IntTest.scala": FileFilter) || "UnitTest.scala" || "ShortTest.scala" || "PatMatOuterPointerCheckTest.scala" || "OuterClassTest.scala" || "MatchTest.scala" || "LongTest.scala" || "FloatTest.scala" || "DoubleTest.scala" || "CharTest.scala" || "ByteTest.scala" || "BooleanTest.scala" || "ArrayTest.scala")).get gets translated to this ( (dir / "shared/src/test/scala/org/scalajs/testsuite/compiler" ~~ (("RegressionTest.scala": FileFilter) && "ReflectiveCallTest.scala")).get What do you think? Should I convert this proposal to an issue? About proportion of enabled tests There are 166 Additional Also I noticed that when a wrong path to a file is specified (due to a typo), then no failures are reported, sbt simply ignores these files, should we do something about it? I would like it to fail tests if a file is not found, otherwise that section will eventually contain non-existing files. What do you think? |
There already exists an operator About the no failures reported: it is annoying, yes. A blacklist-based thing will help with this issue by construction. |
@sjrd Thank you for showing this operator, I updated the pull-request |
@sjrd , please merge this pull-request if possible |
It currently has conflicts. |
The following tests for the compiler/* group enabled: - compiler/IntTest.scala - compiler/UnitTest.scala - compiler/ShortTest.scala - compiler/PatMatOuterPointerCheckTest.scala - compiler/OuterClassTest.scala - compiler/MatchTest.scala - compiler/LongTest.scala - compiler/FloatTest.scala - compiler/DoubleTest.scala - compiler/CharTest.scala - compiler/ByteTest.scala - compiler/BooleanTest.scala - compiler/ArrayTest.scala Signed-off-by: Nikita Eshkeev <[email protected]>
@sjrd , the conflict has been resolved |
The following tests for the
compiler/*
group enabled:Signed-off-by: Nikita Eshkeev [email protected]