X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Flibpspp%2Fhmap-test.c;h=4ca7f92fd73f48316bcc53c1f388bfab69427a11;hb=11ff86cb02ecfe1895873e524a216266ccd3c2eb;hp=4e072c94f2533ed9ae1f85c707216aebf9ef49d6;hpb=3865397b582d93924ded432055a07c31543363d4;p=pspp-builds.git diff --git a/tests/libpspp/hmap-test.c b/tests/libpspp/hmap-test.c index 4e072c94..4ca7f92f 100644 --- a/tests/libpspp/hmap-test.c +++ b/tests/libpspp/hmap-test.c @@ -1000,5 +1000,12 @@ main (void) putchar ('\n'); +#if __GNUC__ == 4 && __GNUC_MINOR__ == 3 + /* We skipped some of the tests, so return a value that + Automake will interpret as "skipped", instead of one that + means success. */ + return 77; +#else return 0; +#endif }