summaryrefslogtreecommitdiff
path: root/test/simple-build-check.sh
diff options
context:
space:
mode:
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
+