Commits

Shlomi Fish committed c620e59

Fix the tests in the latest Inline::C.

Apparently, the "INC" argument no longer accepts an array reference of
arguments. It must be a string.

Comments (0)

Files changed (4)

fc-solve/source/scripts/Mega-Test-for-C-delta-states.pl

 use Inline (
     C => 'DATA',
     CLEAN_AFTER_BUILD => 0,
-    INC => ["-I$ENV{FCS_PATH}", "-I$ENV{FCS_SRC_PATH}",],
+    INC => "-I$ENV{FCS_PATH} -I$ENV{FCS_SRC_PATH}",
     LIBS => "-L" . $ENV{FCS_PATH} . " -lfcs_delta_states_test -lfcs_debondt_delta_states_test -lfcs_dbm_calc_derived_test -lgmp",
     # LDDLFLAGS => "$Config{lddlflags} -L$FindBin::Bin -lfcs_delta_states_test",
     # CCFLAGS => "-L$FindBin::Bin -lfcs_delta_states_test",

fc-solve/source/t/t/dbm-calc-derived-states.t

 }
 EOF
     CLEAN_AFTER_BUILD => 0,
-    INC => ["-I" . $ENV{FCS_PATH}, "-I" . $ENV{FCS_SRC_PATH}, ],
+    INC => "-I" . $ENV{FCS_PATH} . " -I" . $ENV{FCS_SRC_PATH},
     LIBS => "-L" . $ENV{FCS_PATH} . " -lfcs_dbm_calc_derived_test",
     # LDDLFLAGS => "$Config{lddlflags} -L$FindBin::Bin -lfcs_delta_states_test",
     # CCFLAGS => "-L$FindBin::Bin -lfcs_delta_states_test",

fc-solve/source/t/t/lib/FC_Solve/VarBaseDigitsReader/XS.pm

 EOF
     NAME => "FC_Solve::VarBaseDigitsReader::XS",
     CLEAN_AFTER_BUILD => 0,
-    INC => ["-I" . $ENV{FCS_PATH}, "-I" . $ENV{FCS_SRC_PATH}],
+    INC => "-I" . $ENV{FCS_PATH} . " -I" . $ENV{FCS_SRC_PATH},
     LIBS => "-L" . $ENV{FCS_PATH} . ' -lgmp',
     OPTIMIZE => '-g',
 );

fc-solve/source/t/t/lib/FC_Solve/VarBaseDigitsWriter/XS.pm

 EOF
     NAME => "FC_Solve::VarBaseDigitsWriter::XS",
     CLEAN_AFTER_BUILD => 0,
-    INC => ["-I" . $ENV{FCS_PATH}, "-I" . $ENV{FCS_SRC_PATH}],
+    INC => "-I$ENV{FCS_PATH} -I$ENV{FCS_SRC_PATH}",
     LIBS => "-L" . $ENV{FCS_PATH} . ' -lgmp',
     OPTIMIZE => '-g',
 );