summaryrefslogtreecommitdiff
path: root/test/files/neg/t6289
diff options
context:
space:
mode:
authorSom Snytt <som.snytt@gmail.com>2013-08-19 07:22:28 -0700
committerSom Snytt <som.snytt@gmail.com>2013-08-19 07:22:28 -0700
commit48d14aaaced95ef2577bf8bc799c4a74788e4663 (patch)
tree1c50d0bfa62ba89e2ab7848ab335dc3fbeda0725 /test/files/neg/t6289
parent5084b74048f7f21f38fdf45ebfa8e634b863bb01 (diff)
downloadscala-48d14aaaced95ef2577bf8bc799c4a74788e4663.tar.gz
scala-48d14aaaced95ef2577bf8bc799c4a74788e4663.tar.bz2
scala-48d14aaaced95ef2577bf8bc799c4a74788e4663.zip
SI-7729 Fix broken windows build
Fixing #ifdiff uncovered a latent bug in partest when it detects paths to normalize in test log output. It would not normalize file separators for test names with non-word characters. This commit normalizes the test name to the ticket number as a workaround until the next partest version is picked up. It also fixes partest in this repo in case we've not yet switched over to the new repo. A separate PR will be submitted to the new repo as necessary.
Diffstat (limited to 'test/files/neg/t6289')
-rw-r--r--test/files/neg/t6289/J.java5
-rw-r--r--test/files/neg/t6289/SUT_5.scala5
2 files changed, 10 insertions, 0 deletions
diff --git a/test/files/neg/t6289/J.java b/test/files/neg/t6289/J.java
new file mode 100644
index 0000000000..83f50c9ae2
--- /dev/null
+++ b/test/files/neg/t6289/J.java
@@ -0,0 +1,5 @@
+public class J {
+ @Override public void foo() { }
+
+ public void bar() { foo(); }
+}
diff --git a/test/files/neg/t6289/SUT_5.scala b/test/files/neg/t6289/SUT_5.scala
new file mode 100644
index 0000000000..0a996352c0
--- /dev/null
+++ b/test/files/neg/t6289/SUT_5.scala
@@ -0,0 +1,5 @@
+
+/** The System Under Test.
+ * We bail on the earlier round that generates the first error.
+ */
+class SUT extends J