From 3ba41d0f74a62bed0adcb6ffc51b8f8a57210b73 Mon Sep 17 00:00:00 2001
From: Bent Bisballe Nyeng <deva@aasimon.org>
Date: Thu, 16 May 2013 08:07:07 +0200
Subject: Remove test framework. TODO: Replace it with a new one at some
 point...

---
 tools/test | 39 ---------------------------------------
 1 file changed, 39 deletions(-)
 delete mode 100755 tools/test

(limited to 'tools/test')

diff --git a/tools/test b/tools/test
deleted file mode 100755
index 84dd8c0..0000000
--- a/tools/test
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/bash
-
-TEST=`echo -n $1 | cut -d'.' -f1`
-UPPER=`echo $TEST | tr 'a-z.' 'A-Z_'`
-OUTPUT=test_$TEST
-DEFINE=TEST_$UPPER
-
-SCRIPTDIR=`dirname $0`
-
-COMPILE="g++ -DHAVE_CONFIG_H -I$SCRIPTDIR -g -Wall -Werror -D$DEFINE -o $OUTPUT $*"
-
-echo -e "\033[0;2mTesting $TEST:"
-echo Testing $TEST: > $OUTPUT.log
-
-echo -n "* Compiling $TEST test"
-echo Compiling $TEST test: > $OUTPUT.log
-echo ${COMPILE} >> $OUTPUT.log
-
-if ${COMPILE} >> ${OUTPUT}.log 2>&1; then
-	echo -e "\r\t\t\t\t\t\t[\033[1;32mSuccess\033[0;2m]"
-	echo "[Success]" >> $OUTPUT.log
-
-	echo -n "* Running   $TEST test"
-	echo Running $TEST test: >> $OUTPUT.log
-#	gdb ./$OUTPUT --eval-command=run 
-	if ./$OUTPUT >> $OUTPUT.log 2>&1; then
-		echo -e "\r\t\t\t\t\t\t[\033[1;32mSuccess\033[0;2m]"
-		echo "[Success]" >> $OUTPUT.log
-	else
-		echo -e "\r\t\t\t\t\t\t[\033[1;31mFailure\033[0;2m]"
-		echo "[Failure]" >> $OUTPUT.log
-		rm -f $OUTPUT
-	fi
-else
-	echo -e "\r\t\t\t\t\t\t[\033[1;31mFailure\033[0;2m]"
-	echo "[Failure]" >> $OUTPUT.log
-fi
-
-echo
\ No newline at end of file
-- 
cgit v1.2.3