MCPcopy Create free account
hub / github.com/Kitware/VTK / checkTestFile

Function checkTestFile

ThirdParty/libxml2/vtklibxml2/runsuite.c:40–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 ************************************************************************/
39
40static int checkTestFile(const char *filename) {
41 struct stat buf;
42
43 if (stat(filename, &buf) == -1)
44 return(0);
45
46#if defined(_WIN32)
47 if (!(buf.st_mode & _S_IFREG))
48 return(0);
49#else
50 if (!S_ISREG(buf.st_mode))
51 return(0);
52#endif
53
54 return(1);
55}
56
57static xmlChar *composeDir(const xmlChar *dir, const xmlChar *path) {
58 char buf[500];

Callers 3

testExternalEntityLoaderFunction · 0.70
xstcTestInstanceFunction · 0.70
xstcTestGroupFunction · 0.70

Calls 1

statClass · 0.70

Tested by

no test coverage detected