[moulette] fixed CompileTest::test()
[ozulis.git] / src / moulette / tests / compile-test.cc
blob9f9c65921432b6a236fbb0e46e78280596fe4a95
1 #include "compile-test.hh"
3 namespace moulette
5 CompileTest::CompileTest()
6 : super_t(),
7 source()
11 void
12 CompileTest::test()
14 process_.setBinary(OZULIS_BINARY);
15 process_.addArg(source);
16 super_t::test();
19 void
20 CompileTest::set(const std::string & key, const std::string & value)
22 if (key == "source")
23 source = value;
24 else
25 super_t::set(key, value);
28 const std::string &
29 CompileTest::type() const
31 static std::string type_("CompileTest");
33 return type_;