aboutsummaryrefslogblamecommitdiff
path: root/test/partest
blob: 5794e2e5793e05bedc62418c4624e783216362f2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                                     
#!/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.

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