Skip to content

Commit 6e19044

Browse files
committed
test: test scons
1 parent b5fdec4 commit 6e19044

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

configure

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ build-essential \
2020
gfortran \
2121
libncurses5-dev \
2222
python-software-properties \
23+
scons \
2324
"
2425
if "$travis"; then
2526
cmd="$cmd \

test

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,25 @@
11
#!/usr/bin/env bash
2-
3-
for t in c cpp gcc glibc posix; do
2+
top="$(pwd)"
3+
for t in \
4+
c \
5+
cpp \
6+
gcc \
7+
glibc \
8+
posix \
9+
; do
410
if ! make -C "$t" test; then
511
echo "TEST FAILED: $t"
612
exit 1
713
fi
814
done
9-
15+
for t in \
16+
scons \
17+
; do
18+
cd "${top}/${t}"
19+
if ! ./test; then
20+
echo "TEST FAILED: $t"
21+
exit 1
22+
fi
23+
done
1024
echo "ALL TESTS PASSED"
1125
exit 0

0 commit comments

Comments
 (0)