blob: 94af4406437224a7394d004b18d81099451e80e1 [file] [log] [blame]
#include <stdio.h>
#include <string.h>
#include "selftest.h"
const char *selftest_suite_directory;
#ifdef _WIN32
int __cdecl main(int argc, char *argv[])
#else
int main(int argc, char *argv[])
#endif
{
if (argc < 2) {
fprintf(stderr, "usage: %s <selftest-suite-directory> <options>\n",
argv[0]);
exit(1);
}
selftest_suite_directory = argv[1];
memmove(argv + 1, argv + 2, argc - 1);
argc -= 1;
return clar_test(argc, argv);
}