-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bd8e10c
commit 11ae69a
Showing
3 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
set -e | ||
set pipefail | ||
MYNAME=`basename $0` | ||
|
||
if [ ! -r VERSION.txt ]; then | ||
echo '*** '$MYNAME': Wrong current directory!' | ||
exit 86 | ||
fi | ||
|
||
# Starting at ./tests, | ||
# 1. Find all occurences of main.java and grep all "class" statements, keeping the file paths (-H) and ignoring case (-i). | ||
# 2. From that, ignore case and throw out (-v) the "class main" statements. | ||
# 3. From that, remove the directory prefix, yielding only the jacotest case (directory) name. | ||
# | ||
# 1 vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv 2 vvvvvvvvvvvvvvvvvvv 3 vvvvvvvvvvvvvvvvvvvvvv | ||
echo | ||
echo $MYNAME': Jacotest case files exhibiting subordinate classes (duplicate entries are possible):' 2>&1 | tee $MYNAME.log | ||
echo 2>&1 | tee -a $MYNAME.log | ||
find ./tests -name main.java -exec grep -iH " class " {} \; 2>&1 | grep -iv "class main" 2>&1 | sed -e "s/\.\/tests\///" 2>&1 | tee -a $MYNAME.log |