diff options
author | Ebrahim Byagowi <ebrahim@gnu.org> | 2018-01-04 10:11:34 +0330 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-04 10:11:34 +0330 |
commit | 5ed26fc5bdfdab0ff41a8861b54395c0bbbad248 (patch) | |
tree | c1af25fc2244a70b3a4ba3dcc924c9eddb2f14ef /src/check-static-inits.sh | |
parent | f8daeef4c4451084a781db3a8a04807c0f0051ef (diff) |
[cmake] Run src/ tests (#675)
Diffstat (limited to 'src/check-static-inits.sh')
-rwxr-xr-x | src/check-static-inits.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/check-static-inits.sh b/src/check-static-inits.sh index 1446fa73..aa1b129d 100755 --- a/src/check-static-inits.sh +++ b/src/check-static-inits.sh @@ -4,6 +4,7 @@ LC_ALL=C export LC_ALL test -z "$srcdir" && srcdir=. +test -z "$libs" && libs=. stat=0 @@ -14,7 +15,7 @@ else exit 77 fi -OBJS=.libs/*.o +OBJS=$libs/*.o if test "x`echo $OBJS`" = "x$OBJS" 2>/dev/null >/dev/null; then echo "check-static-inits.sh: object files not found; skipping test" exit 77 |