chiark / gitweb /
[PATCH] I broke the extras/ again. Add simple build test script now.
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>
Sun, 19 Dec 2004 01:39:52 +0000 (02:39 +0100)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 06:19:08 +0000 (23:19 -0700)
test/simple-build-check.sh [new file with mode: 0644]

diff --git a/test/simple-build-check.sh b/test/simple-build-check.sh
new file mode 100644 (file)
index 0000000..8919fcf
--- /dev/null
@@ -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
+