From 46fb0b94b3c3c651be5cd4640ebed71dd43df33b Mon Sep 17 00:00:00 2001 From: j8takagi Date: Wed, 10 Nov 2010 20:49:39 +0900 Subject: [PATCH] =?utf8?q?=E3=83=86=E3=82=B9=E3=83=88=E8=AA=AC=E6=98=8E?= =?utf8?q?=E3=81=AE=E5=BD=A2=E5=BC=8F=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- sample/hoc1/test/Makefile | 2 +- sample/hoc1/test/add/desc.txt | 2 +- sample/hoc1/test/div/desc.txt | 2 +- sample/hoc1/test/div_1/desc.txt | 3 ++- sample/hoc1/test/mul/desc.txt | 2 +- sample/hoc1/test/pi/desc.txt | 2 +- sample/hoc1/test/sub/desc.txt | 2 +- 7 files changed, 8 insertions(+), 7 deletions(-) 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 引き算のテスト -- 2.18.0