projects
/
apple
/
dyld.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
dyld-832.7.1.tar.gz
[apple/dyld.git]
/
unit-tests
/
bin
/
fail-if-non-zero.pl
1
#!/usr/bin/perl -w
2
3
use
strict
;
4
5
# first arg is fail string, rest of args are command line to invoke
6
my
$fail_string
=
shift
@ARGV
;
7
8
if
(
system
(
@ARGV
) !=
0
)
9
{
10
printf
(
"FAIL
\"
$fail_string
\"\n
"
);
11
}
12
13
exit
0
;
14