2015-01-10 07:02:46 +00:00
|
|
|
Fix this test so that it succeeds when the library is not compiled with
|
|
|
|
SCOTCH_PTHREAD.
|
2014-05-19 05:08:30 +00:00
|
|
|
|
2015-01-10 07:02:46 +00:00
|
|
|
--- scotch_6.0.4/src/check/test_common_thread.c 2014-09-28 11:39:59.000000000 -0500
|
|
|
|
+++ scotch_6.0.4/src/check/test_common_thread.c 2015-01-10 00:52:00.076229542 -0600
|
2014-05-19 05:08:30 +00:00
|
|
|
@@ -175,14 +175,14 @@
|
|
|
|
char * argv[])
|
|
|
|
{
|
|
|
|
TestThreadGroup groudat;
|
|
|
|
-#if ((defined COMMON_PTHREAD) || (defined SCOTCH_PTHREAD))
|
2015-01-10 07:02:46 +00:00
|
|
|
+#if ((defined COMMON_PTHREAD) && (defined SCOTCH_PTHREAD))
|
2014-05-19 05:08:30 +00:00
|
|
|
TestThread * restrict thrdtab;
|
|
|
|
int thrdnbr;
|
2015-01-10 07:02:46 +00:00
|
|
|
#endif /* ((defined COMMON_PTHREAD) || (defined SCOTCH_PTHREAD)) */
|
2014-05-19 05:08:30 +00:00
|
|
|
|
|
|
|
SCOTCH_errorProg (argv[0]);
|
|
|
|
|
|
|
|
-#if ((defined COMMON_PTHREAD) || (defined SCOTCH_PTHREAD))
|
2015-01-10 07:02:46 +00:00
|
|
|
+#if ((defined COMMON_PTHREAD) && (defined SCOTCH_PTHREAD))
|
2014-05-19 05:08:30 +00:00
|
|
|
thrdnbr = SCOTCH_PTHREAD_NUMBER;
|
|
|
|
|
|
|
|
groudat.redusum = COMPVAL (thrdnbr);
|