diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-12-11 08:11:07 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-12-11 08:11:07 +0100 |
commit | 06cd551da9405a220b170ffaf77d6554cbace69d (patch) | |
tree | 20f1e116087a3deb3bce34c6f4aa0202e0e862ca /tools/add_file | |
parent | d38daf48a709fbaff3891396af1fd5931af46cf9 (diff) |
Remove pbsolete test section from add file script.
Diffstat (limited to 'tools/add_file')
-rwxr-xr-x | tools/add_file | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/tools/add_file b/tools/add_file index 7a6b1d2..3776cbd 100755 --- a/tools/add_file +++ b/tools/add_file @@ -47,25 +47,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 "TEST_TRUE(false, \"No tests yet!\");" >> $1; - echo "" >> $1; - echo "TEST_END;" >> $1; - echo "" >> $1; - echo "#endif/*TEST_${hn}*/" >> $1; } function hfile() { |