diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-09-01 19:57:52 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-09-01 19:57:52 +0200 |
commit | 31bda341e14c2248ca00ec89c3380349c23c0a34 (patch) | |
tree | 01fc8e167cb5e3b32ebbce8ee631f2bdd1ed4cd4 /tools/add_file | |
parent | 348b1390f02cbb66e68c140d1d1d3f887355a306 (diff) |
Remove test section from new source file creation.
Diffstat (limited to 'tools/add_file')
-rwxr-xr-x | tools/add_file | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/tools/add_file b/tools/add_file index f852cc4..f1e8a18 100755 --- a/tools/add_file +++ b/tools/add_file @@ -54,23 +54,6 @@ function cfile() { 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() { |