aboutsummaryrefslogtreecommitdiff
path: root/test/partest
diff options
context:
space:
mode:
Diffstat (limited to 'test/partest')
-rwxr-xr-xtest/partest12
1 files changed, 2 insertions, 10 deletions
diff --git a/test/partest b/test/partest
index 5794e2e57..0ac50aa8e 100755
--- a/test/partest
+++ b/test/partest
@@ -1,12 +1,4 @@
#!/usr/bin/env bash
-# partest error message references partest script to update check files, but
-# doesn't work for dotty because we don't know where tests came from.
+# partest error message references partest script to update check files
-if [ $1='--update-check' ];
-then
- echo """ERROR: Since dotty partest runs on generated files, please update the check
-files in the original location (run tests) or update the expected error count
-(neg tests) in the test file."
-else
- echo "This script doesn't launch partest, please use sbt partest instead."
-fi \ No newline at end of file
+exec sbt "partest-only $*"