From 4ed219d64921e14b9809fd3a535f94fbe2c01d26 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 16 Oct 2009 09:48:20 +0200 Subject: Make the tests more uniform --- tests/cxx/hybrid/list/makefile | 4 ++-- tests/cxx/hybrid/list/output | 1 - tests/cxx/hybrid/list/test-000.std | 1 + tests/cxx/hybrid/list/test-000.xml | 8 ++++++++ tests/cxx/hybrid/list/test.xml | 8 -------- 5 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 tests/cxx/hybrid/list/output create mode 100644 tests/cxx/hybrid/list/test-000.std create mode 100644 tests/cxx/hybrid/list/test-000.xml delete mode 100644 tests/cxx/hybrid/list/test.xml (limited to 'tests/cxx/hybrid/list') diff --git a/tests/cxx/hybrid/list/makefile b/tests/cxx/hybrid/list/makefile index ef24411..a4f4de0 100644 --- a/tests/cxx/hybrid/list/makefile +++ b/tests/cxx/hybrid/list/makefile @@ -55,8 +55,8 @@ $(out_base)/: $(driver) # Test. # $(test): driver := $(driver) -$(test): $(driver) $(src_base)/test.xml $(src_base)/output - $(call message,test $$1,$$1 $(src_base)/test.xml | diff -ubB $(src_base)/output -,$(driver)) +$(test): $(driver) $(src_base)/test-000.xml $(src_base)/test-000.std + $(call message,test $$1,$$1 $(src_base)/test-000.xml | diff -u $(src_base)/test-000.std -,$(driver)) # Clean. # diff --git a/tests/cxx/hybrid/list/output b/tests/cxx/hybrid/list/output deleted file mode 100644 index 6c1ac43..0000000 --- a/tests/cxx/hybrid/list/output +++ /dev/null @@ -1 +0,0 @@ -123 456 789one t:two threeabc def ghiabc def ghi \ No newline at end of file diff --git a/tests/cxx/hybrid/list/test-000.std b/tests/cxx/hybrid/list/test-000.std new file mode 100644 index 0000000..6c1ac43 --- /dev/null +++ b/tests/cxx/hybrid/list/test-000.std @@ -0,0 +1 @@ +123 456 789one t:two threeabc def ghiabc def ghi \ No newline at end of file diff --git a/tests/cxx/hybrid/list/test-000.xml b/tests/cxx/hybrid/list/test-000.xml new file mode 100644 index 0000000..2451a4b --- /dev/null +++ b/tests/cxx/hybrid/list/test-000.xml @@ -0,0 +1,8 @@ + + + 123 456 789 + one t:two three + abc def ghi + abc def ghi + + diff --git a/tests/cxx/hybrid/list/test.xml b/tests/cxx/hybrid/list/test.xml deleted file mode 100644 index 2451a4b..0000000 --- a/tests/cxx/hybrid/list/test.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - 123 456 789 - one t:two three - abc def ghi - abc def ghi - - -- cgit v1.1