-
Notifications
You must be signed in to change notification settings - Fork 155
Update test features: add create_fails script, QC process test, and wait on baseline results #644
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
0a9f46b
d2776a3
460cba2
adab3d3
f283124
d2560f2
d159bdc
c93ba7b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| #!/bin/csh | ||
|
|
||
| echo " " | ||
| set tmpfile = create_fails.tmp | ||
| set outfile = fails.ts | ||
|
|
||
| ./results.csh >& /dev/null | ||
| cat results.log | grep ' run\| test' | grep -v PASS | cut -f 2 -d " " | sort -u >! $tmpfile | ||
|
|
||
| echo "# Test Grid PEs Sets" >! fails.ts | ||
| foreach line ( "`cat $tmpfile`" ) | ||
| #echo $line | ||
| set test = `echo $line | cut -d "_" -f 3` | ||
| set grid = `echo $line | cut -d "_" -f 4` | ||
| set pes = `echo $line | cut -d "_" -f 5` | ||
| set opts = `echo $line | cut -d "_" -f 6- | sed 's/_/,/g'` | ||
| echo "$test $grid $pes $opts" >> fails.ts | ||
| end | ||
|
|
||
| rm $tmpfile | ||
| echo "$0 done" | ||
| echo "Not passed tests written to file...... $outfile" | ||
| echo "To setup a new test suite, try something like" | ||
| echo " ./cice.setup --suite fails.ts ..." | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. does this work ? I guess you first have to move
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You're right that It wouldn't work exactly as described. You can move fails.ts to the cice.setup directory too. It works from there. But you're right, maybe I'll clarify that a bit. I don't want to get too deep in the weeds though.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Updated. |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe "Failed tests" instead ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Failed tests isn't quite accurate. Failed != Not passed. But I think you're right on reflection that failed is probably a better word here. I'll change it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.