summaryrefslogtreecommitdiff
path: root/test/simple-build-check.sh
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-12-19 02:39:52 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:19:08 -0700
commit2a270316e4c0afa1efe98d665e2e329b7bae6c0a (patch)
tree43185a34a8124c221d9f0a5cc6e3678f82bab4d5 /test/simple-build-check.sh
parent2c97d705dc2550885ecc392765755511b549bfc7 (diff)
[PATCH] I broke the extras/ again. Add simple build test script now.
Diffstat (limited to 'test/simple-build-check.sh')
-rw-r--r--test/simple-build-check.sh26
1 files changed, 26 insertions, 0 deletions
diff --git a/test/simple-build-check.sh b/test/simple-build-check.sh
new file mode 100644
index 0000000000..8919fcfcf0
--- /dev/null
+++ b/test/simple-build-check.sh
@@ -0,0 +1,26 @@
+#/bin/sh
+
+EXTRA="extras/chassis_id extras/scsi_id extras/volume_id"
+
+make spotless EXTRAS="$EXTRA" >/dev/null
+make all EXTRAS="$EXTRA" || exit
+echo -e "\n\n"
+
+make spotless EXTRAS="$EXTRA" >/dev/null
+make all DEBUG=true EXTRAS="$EXTRA" || exit
+echo -e "\n\n"
+
+make spotless EXTRAS="$EXTRA" >/dev/null
+make all USE_LOG=false EXTRAS="$EXTRA" || exit
+echo -e "\n\n"
+
+make spotless EXTRAS="$EXTRA" >/dev/null
+make all USE_KLIBC=true DEBUG=true EXTRAS="$EXTRA" || exit
+echo -e "\n\n"
+
+make spotless EXTRAS="$EXTRA" >/dev/null
+make all USE_KLIBC=true USE_LOG=false EXTRAS="$EXTRA" || exit
+echo -e "\n\n"
+
+make spotless EXTRAS="$EXTRA" >/dev/null
+