diff options
author | Arne H Juul <arnej@yahoo-inc.com> | 2016-06-22 16:54:21 +0200 |
---|---|---|
committer | Arne H Juul <arnej@yahoo-inc.com> | 2016-06-22 17:18:52 +0200 |
commit | 3c0e8f7bc3d780bbcf0cf0a4cddfd0fb5828b9b1 (patch) | |
tree | bafb5dbe5da58f9d19bf950a94ccd0ff7704ccbe /vespalib/src/tests/tutorial/CMakeLists.txt | |
parent | 9c45bd4e381c3b64cc730ba783f86e0b7ef08764 (diff) |
actually test that tutorial is correct
* generate the tutorial to a temporary file and compare it
* strip away paths to make output reproducable and clean
* improve performance by not running "make" or similar
Diffstat (limited to 'vespalib/src/tests/tutorial/CMakeLists.txt')
-rw-r--r-- | vespalib/src/tests/tutorial/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/tests/tutorial/CMakeLists.txt b/vespalib/src/tests/tutorial/CMakeLists.txt index 40f12c42edb..120c848b2ae 100644 --- a/vespalib/src/tests/tutorial/CMakeLists.txt +++ b/vespalib/src/tests/tutorial/CMakeLists.txt @@ -5,7 +5,7 @@ vespa_add_executable(vespalib_make_tutorial_app TEST DEPENDS vespalib ) -vespa_add_test(NAME vespalib_make_tutorial_app COMMAND vespalib_make_tutorial_app) +vespa_add_test(NAME vespalib_make_tutorial_app COMMAND sh ./compare-tutorials.sh) vespa_add_executable(vespalib_xml_escape_app SOURCES xml_escape.cpp |