From fc46f2618332037a8c1b58fbce5d616033bff1c9 Mon Sep 17 00:00:00 2001 From: Dan Klein Date: Wed, 26 Aug 2015 15:05:58 +0300 Subject: Rearranged files and external libraries in two different locations, one for cpp (trex-core/external_libs) and one for python (trex-core/scripts/external_libs) --- external_libs/yaml-cpp/test/tests.cpp | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 external_libs/yaml-cpp/test/tests.cpp (limited to 'external_libs/yaml-cpp/test/tests.cpp') diff --git a/external_libs/yaml-cpp/test/tests.cpp b/external_libs/yaml-cpp/test/tests.cpp new file mode 100644 index 00000000..2dff6eeb --- /dev/null +++ b/external_libs/yaml-cpp/test/tests.cpp @@ -0,0 +1,30 @@ +#include "tests.h" +#include "emittertests.h" +#include "nodetests.h" +#include "parsertests.h" +#include "spectests.h" +#include "yaml-cpp/yaml.h" +#include +#include +#include +#include + +namespace Test +{ + void RunAll() + { + bool passed = true; + if(!RunParserTests()) + passed = false; + + if(!RunEmitterTests()) + passed = false; + + if(!RunSpecTests()) + passed = false; + + if(passed) + std::cout << "All tests passed!\n"; + } +} + -- cgit