2017-01-06 01:37:00 +08:00
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
int main(void) {
|
2018-10-20 05:17:48 +08:00
|
|
|
#ifdef MESON_IS_SUBPROJECT
|
|
|
|
fprintf(stderr, "libfuse tests were skipped because it's a meson subproject.\n"
|
|
|
|
"If you wish to run them try:\n"
|
|
|
|
"'cd <srcdir>/subprojects/libfuse && meson . build && cd build && python3 -m pytest test/' instead");
|
|
|
|
return 77; /* report as a skipped test */
|
|
|
|
#else
|
2017-01-06 01:37:00 +08:00
|
|
|
fprintf(stderr, "\x1B[31m\e[1m"
|
|
|
|
"This is not the command you are looking for.\n"
|
2017-04-11 08:08:58 +08:00
|
|
|
"You probably want to run 'python3 -m pytest test/' instead"
|
|
|
|
"\e[0m\n");
|
2017-01-06 01:37:00 +08:00
|
|
|
return 1;
|
2018-10-20 05:17:48 +08:00
|
|
|
#endif
|
2017-01-06 01:37:00 +08:00
|
|
|
}
|