diff options
author | vsalvis <salvisbergvera@gmail.com> | 2015-05-20 13:43:14 +0200 |
---|---|---|
committer | vsalvis <salvisbergvera@gmail.com> | 2015-05-22 11:13:41 +0200 |
commit | adfe78d740b2443dd09c9008c78bc98f0f3894a0 (patch) | |
tree | c3dbfb7098b1fa3f7ae2f08e6a23147d9f71277b /test/partest | |
parent | ed31c2a82d6b59ef092e17bd8811278f5ffd15e9 (diff) | |
download | dotty-adfe78d740b2443dd09c9008c78bc98f0f3894a0.tar.gz dotty-adfe78d740b2443dd09c9008c78bc98f0f3894a0.tar.bz2 dotty-adfe78d740b2443dd09c9008c78bc98f0f3894a0.zip |
Update-check option for partest, added "do not edit" header
Diffstat (limited to 'test/partest')
-rwxr-xr-x | test/partest | 12 |
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 $*" |