summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-12-01 20:28:44 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-12-01 20:28:44 +0100
commit4eb7875822c67506b2d866e34c5e523fe32b5b3a (patch)
treea099a945ecb65dcfccb1e5b534fba40b1725cfef /tools
parent7688cf531ab17562b0d984073891fae4d7d2f773 (diff)
Remove old test section from fil add script.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/add_file17
1 files changed, 0 insertions, 17 deletions
diff --git a/tools/add_file b/tools/add_file
index bca1cd3..d63b4ab 100755
--- a/tools/add_file
+++ b/tools/add_file
@@ -54,23 +54,6 @@ function ccfile() {
echo -n $hf >> $1;
echo '"' >> $1;
echo '' >> $1;
- local hn=`echo $1 | cut -d'.' -f1 | tr 'a-z.' 'A-Z_'`
- echo "#ifdef TEST_${hn}" >> $1;
- echo "//Additional dependency files" >> $1;
- echo "//deps:" >> $1;
- echo "//Required cflags (autoconf vars may be used)" >> $1;
- echo "//cflags:" >> $1;
- echo "//Required link options (autoconf vars may be used)" >> $1;
- echo "//libs:" >> $1;
- echo "#include \"test.h\"" >> $1;
- echo "" >> $1;
- echo "TEST_BEGIN;" >> $1;
- echo "" >> $1;
- echo "// TODO: Put some testcode here (see test.h for usable macros)." >> $1;
- echo "" >> $1;
- echo "TEST_END;" >> $1;
- echo "" >> $1;
- echo "#endif/*TEST_${hn}*/" >> $1;
}
function hfile() {