Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
e3c29529
Commit
e3c29529
authored
Jan 29, 2001
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only run diff if the test program terminated normally, with exit
status 0.
parent
ccbcb7cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
lib/python/TAL/runtest.sh
lib/python/TAL/runtest.sh
+11
-7
No files found.
lib/python/TAL/runtest.sh
View file @
e3c29529
...
...
@@ -19,12 +19,16 @@ do
out
=
`
echo
$test
|
sed
's,/[^/0-9]*\([0-9]*\).xml,/out\1.xml,'
`
tmp
=
$TMPDIR
/taltest
$$
`
basename
$test
`
./driver.py
$flags
$test
>
$tmp
if
cmp
-s
$tmp
$out
then
echo
$test
OK
else
echo
"
$test
failed -- diff (expected vs. actual) follows"
diff
$out
$tmp
fi
case
$?
in
0
)
if
cmp
-s
$tmp
$out
then
echo
$test
OK
else
echo
"
$test
failed -- diff (expected vs. actual) follows"
diff
$out
$tmp
fi
;;
*
)
echo
$test
exit
status
$?
;;
esac
rm
$tmp
done
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment