From: j8takagi Date: Wed, 10 Nov 2010 11:49:39 +0000 (+0900) Subject: テスト説明の形式を修正 X-Git-Tag: 0.2p3~58 X-Git-Url: https://j8takagi.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46fb0b94b3c3c651be5cd4640ebed71dd43df33b;p=autotest_mk.git テスト説明の形式を修正 --- diff --git a/sample/hoc1/test/Makefile b/sample/hoc1/test/Makefile index 934b867..a66c1f8 100644 --- a/sample/hoc1/test/Makefile +++ b/sample/hoc1/test/Makefile @@ -33,7 +33,7 @@ checkeach: @for target in $(TESTS); do $(MAKE) check -C $$target; done $(GROUP_LOG_FILE): - @for target in $(TESTS); do cat <$$target/$(LOG_FILE) >>$@ || echo $$target ": no log." >>$@; done + @for target in $(TESTS); do (echo<$$target/$(LOG_FILE) && cat <$$target/$(LOG_FILE)) >>$@ || echo $$target ": no log." >>$@; done report: $(GROUP_LOG_FILE) @echo "$(GROUP): $(SUCCESS_TEST) / $(ALL_TEST) tests passed. Details in `pwd`/$(GROUP_LOG_FILE)"; \ diff --git a/sample/hoc1/test/add/desc.txt b/sample/hoc1/test/add/desc.txt index 410b8ee..b4dc198 100644 --- a/sample/hoc1/test/add/desc.txt +++ b/sample/hoc1/test/add/desc.txt @@ -1 +1 @@ -hoc1 - 足し算のテスト +hoc1 - add 足し算のテスト diff --git a/sample/hoc1/test/div/desc.txt b/sample/hoc1/test/div/desc.txt index 7036046..5a879b7 100644 --- a/sample/hoc1/test/div/desc.txt +++ b/sample/hoc1/test/div/desc.txt @@ -1 +1 @@ -hoc1 - 引き算のテスト +hoc1 - div 割り算のテスト diff --git a/sample/hoc1/test/div_1/desc.txt b/sample/hoc1/test/div_1/desc.txt index 7036046..56793a0 100644 --- a/sample/hoc1/test/div_1/desc.txt +++ b/sample/hoc1/test/div_1/desc.txt @@ -1 +1,2 @@ -hoc1 - 引き算のテスト +hoc1 - div_1 割り算のテスト +テストの想定に誤りがあるため、正常動作時、テストは失敗する diff --git a/sample/hoc1/test/mul/desc.txt b/sample/hoc1/test/mul/desc.txt index 10e9a8a..687b39b 100644 --- a/sample/hoc1/test/mul/desc.txt +++ b/sample/hoc1/test/mul/desc.txt @@ -1 +1 @@ -hoc1 - かけ算のテスト +hoc1 - mul 掛け算のテスト diff --git a/sample/hoc1/test/pi/desc.txt b/sample/hoc1/test/pi/desc.txt index 3198ff5..8546613 100644 --- a/sample/hoc1/test/pi/desc.txt +++ b/sample/hoc1/test/pi/desc.txt @@ -1 +1 @@ -公式 pi/4 = 1 + 1/3 + 1/5 ... を実行 +div - pi 公式 pi/4 = 1 + 1/3 + 1/5 ... を実行 diff --git a/sample/hoc1/test/sub/desc.txt b/sample/hoc1/test/sub/desc.txt index 7036046..579047d 100644 --- a/sample/hoc1/test/sub/desc.txt +++ b/sample/hoc1/test/sub/desc.txt @@ -1 +1 @@ -hoc1 - 引き算のテスト +hoc1 - sub 引き算のテスト