aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/autotest-with-dependencies/test-main.cpp
blob: 382049ea8463ac34715e00152c42243877cd7432 (plain)
1
2
3
4
5
6
7
8
9
10
#include <cstdlib>
#include <iostream>
#include <string>

int main(int argc, char *argv[])
{
    std::cout << "i am the test app" << std::endl;
    const std::string fullHelperExe = std::string(argv[1]) + "/helper-app.exe";
    return std::system(fullHelperExe.c_str()) == 0 ? EXIT_SUCCESS : EXIT_FAILURE;
}