2009-10-28 20:35:53 +03:00
|
|
|
#include <OutDir.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
int main(void)
|
|
|
|
{
|
2016-05-16 17:34:04 +03:00
|
|
|
const char* files[] = { TESTC1_LIB, TESTC2_LIB, CONLY_EXE, 0 };
|
2009-10-28 20:35:53 +03:00
|
|
|
int result = 0;
|
|
|
|
const char** fname = files;
|
2016-05-16 17:34:04 +03:00
|
|
|
for (; *fname; ++fname) {
|
2009-10-28 20:35:53 +03:00
|
|
|
FILE* f = fopen(*fname, "rb");
|
2016-05-16 17:34:04 +03:00
|
|
|
if (f) {
|
2009-10-28 20:35:53 +03:00
|
|
|
printf("found: [%s]\n", *fname);
|
|
|
|
fclose(f);
|
2016-05-16 17:34:04 +03:00
|
|
|
} else {
|
2009-10-28 20:35:53 +03:00
|
|
|
printf("error: [%s]\n", *fname);
|
|
|
|
result = 1;
|
|
|
|
}
|
2016-05-16 17:34:04 +03:00
|
|
|
}
|
2009-10-28 20:35:53 +03:00
|
|
|
return result;
|
|
|
|
}
|