-1.txt
+*/1.txt
+*/*.log
*.log
-/home/kazubito/2010_11/autotest.mk/template/Define.mk
\ No newline at end of file
+../../template/Define.mk
\ No newline at end of file
-/home/kazubito/2010_11/autotest.mk/template/Define_group.mk
\ No newline at end of file
+../../template/Define_group.mk
\ No newline at end of file
-/home/kazubito/2010_11/autotest.mk/template/Define_test.mk
\ No newline at end of file
+../../template/Define_test.mk
\ No newline at end of file
-/home/kazubito/2010_11/autotest.mk/template/Group.mk
\ No newline at end of file
+../../template/Group.mk
\ No newline at end of file
-/home/kazubito/2010_11/autotest.mk/template/Test.mk
\ No newline at end of file
+../../template/Test.mk
\ No newline at end of file
b: not exist
b/b.txt: not exist
-Makefile:14: *** a exists in /home/kazubito/2010_11/autotest.mk/selftest/unittest/chk_file_ext. 中止.
-Makefile:18: *** a/a.txt exists in /home/kazubito/2010_11/autotest.mk/selftest/unittest/chk_file_ext. 中止.
+Makefile:14: *** a exists in /home/kazubito/2010_12/autotest.mk/selftest/unittest/chk_file_ext. 中止.
+Makefile:18: *** a/a.txt exists in /home/kazubito/2010_12/autotest.mk/selftest/unittest/chk_file_ext. 中止.
+++ /dev/null
-a: exist
-a/a.txt: exist
-Makefile:14: *** b not exists in /home/kazubito/2010_11/autotest.mk/selftest/unittest/chk_file_notext. 中止.
-Makefile:18: *** b/b.txt not exists in /home/kazubito/2010_11/autotest.mk/selftest/unittest/chk_file_notext. 中止.
-
+++ /dev/null
-include ../Define.mk
-include ../Define_test.mk
-include ../Test.mk
-
-.PHONY: utest utest_err1 utest_err2
-
-utest:
- @$(call chk_file_notext,a)
- @$(call chk_file_notext,a/a.txt)
- @echo "a: exist"
- @echo "a/a.txt: exist"
-
-utest_err1:
- @$(call chk_file_notext,b)
- @echo "b: not exist"
-
-utest_err2:
- @$(call chk_file_notext,b/b.txt)
- @echo "b/b.txt: not exist"
+++ /dev/null
-make -s utest 2>&1
-make -s utest_err1 2>&1
-make -s utest_err2 2>&1
-echo
+++ /dev/null
-マクロ chk_file_notext のテスト
-指定されたファイルが実在しない場合、エラー
atest
Makefile:15: *** NULL argument. 中止.
-Makefile:12: *** atest exists in /home/kazubito/2010_11/autotest.mk/selftest/unittest/create_dir. 中止.
+Makefile:12: *** atest exists in /home/kazubito/2010_12/autotest.mk/selftest/unittest/create_dir. 中止.
-/home/kazubito/2010_11/autotest.mk/selftest/unittest/makefiles_abs/Define.mk /home/kazubito/2010_11/autotest.mk/selftest/unittest/makefiles_abs/Define_group.mk /home/kazubito/2010_11/autotest.mk/selftest/unittest/makefiles_abs/Define_test.mk /home/kazubito/2010_11/autotest.mk/selftest/unittest/makefiles_abs/Test.mk
+/home/kazubito/2010_12/autotest.mk/selftest/unittest/makefiles_abs/Define.mk /home/kazubito/2010_12/autotest.mk/selftest/unittest/makefiles_abs/Define_group.mk /home/kazubito/2010_12/autotest.mk/selftest/unittest/makefiles_abs/Define_test.mk /home/kazubito/2010_12/autotest.mk/selftest/unittest/makefiles_abs/Test.mk
+++ /dev/null
-time_cmd: 0:03.00
+++ /dev/null
-time_cmd: 0:03.00
+++ /dev/null
-include ../Define.mk
-include ../Define_test.mk
-include ../Test.mk
-
-utest:
- $(call time_cmd,$(TEST),cmd0,00.txt)
+++ /dev/null
-make -s utest && cat 00.txt
+++ /dev/null
-sleep 3
-expr 2 + 3
+++ /dev/null
-マクロ time_cmd のテスト
-テスト実行の経過時間を、ファイルに出力して表示。
-多くの場合、0:03:00 (3秒)を出力。
-実際の実行時間により、結果が異なる場合がある。