check if recompiling is needed by preprocessing

This commit is contained in:
vrd
2024-03-18 09:50:04 +02:00
committed by Venelin
parent 097738cf64
commit d88212f6e7
6 changed files with 162 additions and 58 deletions
+4
View File
@@ -24,6 +24,10 @@ int main(int argc, char* argv[])
if(out1.find("childProcess.cpp") != string::npos)
cout << "OK 0/11" << endl;
string out2 = $(echo + "abc" + "def");
if(auto len = out2.size(); len != 8)
cerr << "FAILURE: unexpected output length " << len << endl;
Cmd success("echo", "OK 1/11");
Cmd fail("mkdir", ".");
Cmd unexpected("echo", "FAILURE");