Changes in / [fd8f88f:a539fc3]
- Files:
-
- 23 edited
-
Makefile.in (modified) (1 diff)
-
benchmark/Makefile.in (modified) (1 diff)
-
configure (modified) (7 diffs)
-
configure.ac (modified) (1 diff)
-
driver/Makefile.in (modified) (1 diff)
-
driver/cfa.cc (modified) (10 diffs)
-
libcfa/Makefile.in (modified) (3 diffs)
-
libcfa/configure (modified) (5 diffs)
-
libcfa/configure.ac (modified) (1 diff)
-
libcfa/prelude/Makefile.am (modified) (3 diffs)
-
libcfa/prelude/Makefile.in (modified) (6 diffs)
-
libcfa/src/Makefile.am (modified) (3 diffs)
-
libcfa/src/Makefile.in (modified) (6 diffs)
-
longrun_tests/Makefile.in (modified) (1 diff)
-
src/Makefile.in (modified) (1 diff)
-
tests/Makefile.am (modified) (6 diffs)
-
tests/Makefile.in (modified) (7 diffs)
-
tests/config.py.in (modified) (1 diff)
-
tests/pybin/settings.py (modified) (4 diffs)
-
tests/pybin/tools.py (modified) (12 diffs)
-
tests/test.py (modified) (4 diffs)
-
tools/Makefile.in (modified) (1 diff)
-
tools/prettyprinter/Makefile.in (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
Makefile.in
rfd8f88f ra539fc3 294 294 FGREP = @FGREP@ 295 295 GREP = @GREP@ 296 HAS_DISTCC = @HAS_DISTCC@ 296 297 HOST_FLAGS = @HOST_FLAGS@ 297 298 INSTALL = @INSTALL@ -
benchmark/Makefile.in
rfd8f88f ra539fc3 244 244 FGREP = @FGREP@ 245 245 GREP = @GREP@ 246 HAS_DISTCC = @HAS_DISTCC@ 246 247 HOST_FLAGS = @HOST_FLAGS@ 247 248 INSTALL = @INSTALL@ -
configure
rfd8f88f ra539fc3 663 663 ac_ct_DUMPBIN 664 664 DUMPBIN 665 LD666 665 FGREP 667 666 EGREP … … 701 700 LDFLAGS 702 701 CXXFLAGS 703 CXX704 702 CFA_FLAGS 705 703 LIBCFA_TARGET_MAKEFILES … … 723 721 CFA_INCDIR 724 722 CFA_PREFIX 723 HAS_DISTCC 724 LD 725 CXX 726 ENABLE_DISTCC_FALSE 727 ENABLE_DISTCC_TRUE 725 728 DOendif 726 729 DOifskipcompile … … 797 800 enable_silent_rules 798 801 with_cfa_name 802 enable_distcc 799 803 with_target_hosts 800 804 enable_gprofiler … … 1459 1463 --enable-silent-rules less verbose build output (undo: "make V=1") 1460 1464 --disable-silent-rules verbose build output (undo: "make V=0") 1465 --enable-distcc whether or not to enable distributed compilation 1461 1466 --enable-gprofiler whether or not to enable gprofiler tools (if available) 1462 1467 --enable-demangler whether or not to build the demangler (executable and library) … … 3180 3185 3181 3186 DOendif='endif' 3187 3188 3189 3190 #============================================================================== 3191 # distcc support 3192 3193 # Check whether --enable-distcc was given. 3194 if test "${enable_distcc+set}" = set; then : 3195 enableval=$enable_distcc; enable_distcc=$enableval 3196 else 3197 enable_distcc=no 3198 fi 3199 3200 3201 if test x$enable_distcc = xyes; then 3202 ENABLE_DISTCC_TRUE= 3203 ENABLE_DISTCC_FALSE='#' 3204 else 3205 ENABLE_DISTCC_TRUE='#' 3206 ENABLE_DISTCC_FALSE= 3207 fi 3208 3209 HAS_DISTCC="False" 3210 3211 if test x$enable_distcc = xyes; then 3212 CXX="distcc ${CXX}" 3213 LD="distcc ${LD} -lstdc++" 3214 HAS_DISTCC="True" 3215 echo "Enabling distributed builds" 3216 fi 3217 3218 3182 3219 3183 3220 … … 17017 17054 fi 17018 17055 17056 if test -z "${ENABLE_DISTCC_TRUE}" && test -z "${ENABLE_DISTCC_FALSE}"; then 17057 as_fn_error $? "conditional \"ENABLE_DISTCC\" was never defined. 17058 Usually this means the macro was only invoked conditionally." "$LINENO" 5 17059 fi 17019 17060 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 17020 17061 as_fn_error $? "conditional \"AMDEP\" was never defined. -
configure.ac
rfd8f88f ra539fc3 56 56 AC_SUBST([DOendif]) 57 57 AM_SUBST_NOTMAKE([DOendif]) 58 59 #============================================================================== 60 # distcc support 61 62 AC_ARG_ENABLE(distcc, 63 [ --enable-distcc whether or not to enable distributed compilation], 64 enable_distcc=$enableval, enable_distcc=no) 65 66 AM_CONDITIONAL([ENABLE_DISTCC], [test x$enable_distcc = xyes]) 67 HAS_DISTCC="False" 68 69 if test x$enable_distcc = xyes; then 70 CXX="distcc ${CXX}" 71 LD="distcc ${LD} -lstdc++" 72 HAS_DISTCC="True" 73 echo "Enabling distributed builds" 74 fi 75 76 AC_SUBST(CXX) 77 AC_SUBST(LD) 78 AC_SUBST(HAS_DISTCC) 58 79 59 80 #============================================================================== -
driver/Makefile.in
rfd8f88f ra539fc3 231 231 FGREP = @FGREP@ 232 232 GREP = @GREP@ 233 HAS_DISTCC = @HAS_DISTCC@ 233 234 HOST_FLAGS = @HOST_FLAGS@ 234 235 INSTALL = @INSTALL@ -
driver/cfa.cc
rfd8f88f ra539fc3 33 33 using std::to_string; 34 34 35 //#define __DEBUG_H__ 36 35 // #define __DEBUG_H__ 37 36 38 37 static string __CFA_FLAGPREFIX__( "__CFA_FLAG" ); // "N__=" suffix 39 38 40 39 void Putenv( char * argv[], string arg ) { 41 static int flags = 0; // environment variables must have unique names 40 // environment variables must have unique names 41 static int flags = 0; 42 42 43 43 if ( putenv( (char *)( *new string( string( __CFA_FLAGPREFIX__ + to_string( flags++ ) + "__=" ) + arg ) ).c_str() ) ) { … … 47 47 } // Putenv 48 48 49 50 bool prefix( const string & arg, const string & pre ) { // check if string has prefix49 // check if string has prefix 50 bool prefix( const string & arg, const string & pre ) { 51 51 return arg.substr( 0, pre.size() ) == pre; 52 52 } // prefix 53 54 inline bool ends_with(const string & str, const string & sfix) { 55 if (sfix.size() > str.size()) return false; 56 return std::equal(str.rbegin(), str.rbegin() + sfix.size(), sfix.rbegin(), sfix.rend()); 57 } 53 58 54 59 bool suffix( const string & arg ) { // check if string has suffix … … 68 73 return (info.st_mode & S_IFDIR) != 0; 69 74 } // dirExists 75 76 static inline string dir(const string & path) { 77 return path.substr(0, path.find_last_of('/')); 78 } 70 79 71 80 … … 105 114 bool m64 = false; // -m64 flag 106 115 bool intree = false; // build in tree 116 bool compiling_libs = false; 117 bool disttree = false; 107 118 int o_file = 0; // -o filename position 108 119 … … 162 173 } else if ( arg == "-in-tree" ) { 163 174 intree = true; 175 } else if ( arg == "-dist-tree" ) { 176 disttree = true; 177 } else if ( arg == "-cfalib") { 178 compiling_libs = true; 164 179 } else if ( arg == "-compiler" ) { 165 180 // use the user specified compiler … … 293 308 } else { 294 309 libbase = TOP_BUILDDIR "libcfa/"; 310 } // if 311 312 if( compiling_libs ) { 295 313 Putenv( argv, "-t" ); 296 314 } // if … … 305 323 } // if 306 324 307 string libdir( libbase + arch + "-" + (nolib ? "nolib" : (debug ? "debug": "nodebug")) ); 308 if ( ! dirExists( libdir ) ) { 309 cerr << argv[0] << " internal error, cannot find prelude directory " << libdir << endl; 310 exit( EXIT_FAILURE ); 311 } // if 325 const char * config = nolib ? "nolib" : (debug ? "debug": "nodebug"); 326 string libdir = libbase + arch + "-" + config; 327 328 if (!disttree) { 329 if ( ! nolib && ! dirExists( libdir ) ) { 330 cerr << argv[0] << " internal error, configuration " << config << " not installed." << endl; 331 cerr << "Was looking for " << libdir << endl; 332 for(int i = 1; i < argc; i++) { 333 cerr << argv[i] << " "; 334 } 335 cerr << endl; 336 libdir = libbase + arch + "-" + "nolib"; 337 } // if 338 339 if ( ! dirExists( libdir ) ) { 340 cerr << argv[0] << " internal error, cannot find prelude directory." << endl; 341 cerr << "Was looking for " << libdir << endl; 342 exit( EXIT_FAILURE ); 343 } // if 344 } // if 345 346 if(disttree) { 347 Putenv( argv, "--prelude-dir=" + dir(argv[0]) ); 348 } else if(intree) { 349 Putenv( argv, "--prelude-dir=" + libdir + "/prelude" ); 350 } else { 351 Putenv( argv, "--prelude-dir=" + libdir ); 352 } 312 353 313 354 for ( int i = 0; i < nlibs; i += 1 ) { // copy non-user libraries after all user libraries … … 361 402 } // if 362 403 363 Putenv( argv, "--prelude-dir=" + libdir + (intree ? "/prelude" : "") );364 365 404 if ( debug ) { 366 405 heading += " (debug)"; … … 371 410 372 411 if ( bprefix.length() == 0 ) { 373 bprefix = ! intree ? installlibdir : srcdriverdir; 412 if(disttree) { 413 bprefix = dir(argv[0]); 414 } else if(intree) { 415 bprefix = srcdriverdir; 416 } else { 417 bprefix = installlibdir; 418 } 374 419 if ( bprefix[bprefix.length() - 1] != '/' ) bprefix += '/'; 375 Putenv( argv, ( *new string( string("-B=") + bprefix ) ).c_str());420 Putenv( argv, string("-B=") + bprefix ); 376 421 } // if 377 422 … … 415 460 cerr << " \"" << args[i] << "\"" << endl; 416 461 } // for 462 cerr << endl; 417 463 #endif // __DEBUG_H__ 418 464 419 465 if ( ! quiet ) { 420 466 cerr << "CFA " << "Version " << Version << heading << endl; 421 422 467 if ( help ) { 423 468 cerr << -
libcfa/Makefile.in
rfd8f88f ra539fc3 231 231 CFACC = @CFACC@ 232 232 CFACPP = @CFACPP@ 233 CFADIR_HASH = @CFADIR_HASH@ 233 234 CFA_BINDIR = @CFA_BINDIR@ 234 235 CFA_INCDIR = @CFA_INCDIR@ … … 274 275 LIPO = @LIPO@ 275 276 LN_S = @LN_S@ 277 LOCAL_CC1 = @LOCAL_CC1@ 278 LOCAL_CFACC = @LOCAL_CFACC@ 276 279 LTLIBOBJS = @LTLIBOBJS@ 277 280 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ … … 293 296 PACKAGE_VERSION = @PACKAGE_VERSION@ 294 297 PATH_SEPARATOR = @PATH_SEPARATOR@ 298 PRELUDEFLAG = @PRELUDEFLAG@ 295 299 RANLIB = @RANLIB@ 296 300 SED = @SED@ -
libcfa/configure
rfd8f88f ra539fc3 707 707 CONFIG_CFLAGS 708 708 ARCH_FLAGS 709 PRELUDEFLAG 710 CFADIR_HASH 711 LOCAL_CC1 712 LOCAL_CFACC 709 713 CFACPP 710 714 CFACC 715 ENABLE_DISTCC_FALSE 716 ENABLE_DISTCC_TRUE 711 717 CFA_VERSION 712 718 DRIVER_DIR … … 783 789 enable_option_checking 784 790 enable_silent_rules 791 enable_distcc 785 792 with_cfa_name 786 793 enable_shared … … 1445 1452 --enable-silent-rules less verbose build output (undo: "make V=1") 1446 1453 --disable-silent-rules verbose build output (undo: "make V=0") 1454 --enable-distcc whether or not to enable distributed compilation 1447 1455 --enable-shared[=PKGS] build shared libraries [default=yes] 1448 1456 --enable-static[=PKGS] build static libraries [default=yes] … … 2941 2949 2942 2950 2943 CFACC=${DRIVER_DIR}cfa 2951 # Check whether --enable-distcc was given. 2952 if test "${enable_distcc+set}" = set; then : 2953 enableval=$enable_distcc; enable_distcc=$enableval 2954 else 2955 enable_distcc=no 2956 fi 2957 2958 2959 echo -n "checking for distributated build... " 2960 if test x$enable_distcc = xno; then 2961 CFACC=${DRIVER_DIR}cfa 2962 PRELUDEFLAG='-in-tree' 2963 echo "no" 2964 else 2965 tools="$(readlink -m $ac_confdir/)/../tools/build" 2966 config=$(basename $(readlink -f .)) 2967 echo "$tools/distcc_hash $config" 2968 CFADIR_HASH=$($tools/distcc_hash $config) 2969 CFACC="distcc ~/.cfadistcc/${CFADIR_HASH}/cfa" 2970 PRELUDEFLAG='-dist-tree' 2971 echo "yes (hash=${CFADIR_HASH})" 2972 fi 2944 2973 CFACPP=${DRIVER_DIR}cfa-cpp 2974 LOCAL_CFACC=${DRIVER_DIR}cfa 2975 LOCAL_CC1=${DRIVER_DIR}cc1 2976 2977 if test x$enable_distcc = xyes; then 2978 ENABLE_DISTCC_TRUE= 2979 ENABLE_DISTCC_FALSE='#' 2980 else 2981 ENABLE_DISTCC_TRUE='#' 2982 ENABLE_DISTCC_FALSE= 2983 fi 2984 2985 2986 2987 2988 2989 2945 2990 2946 2991 … … 16982 17027 fi 16983 17028 17029 if test -z "${ENABLE_DISTCC_TRUE}" && test -z "${ENABLE_DISTCC_FALSE}"; then 17030 as_fn_error $? "conditional \"ENABLE_DISTCC\" was never defined. 17031 Usually this means the macro was only invoked conditionally." "$LINENO" 5 17032 fi 16984 17033 if test -z "${BUILDLIB_TRUE}" && test -z "${BUILDLIB_FALSE}"; then 16985 17034 as_fn_error $? "conditional \"BUILDLIB\" was never defined. -
libcfa/configure.ac
rfd8f88f ra539fc3 27 27 AC_ARG_VAR(CFA_VERSION, [The long version of cfa]) 28 28 29 CFACC=${DRIVER_DIR}cfa 29 AC_ARG_ENABLE(distcc, 30 [ --enable-distcc whether or not to enable distributed compilation], 31 enable_distcc=$enableval, enable_distcc=no) 32 33 echo -n "checking for distributated build... " 34 if test x$enable_distcc = xno; then 35 CFACC=${DRIVER_DIR}cfa 36 PRELUDEFLAG='-in-tree' 37 echo "no" 38 else 39 tools="$(readlink -m $ac_confdir/)/../tools/build" 40 config=$(basename $(readlink -f .)) 41 echo "$tools/distcc_hash $config" 42 CFADIR_HASH=$($tools/distcc_hash $config) 43 CFACC="distcc ~/.cfadistcc/${CFADIR_HASH}/cfa" 44 PRELUDEFLAG='-dist-tree' 45 echo "yes (hash=${CFADIR_HASH})" 46 fi 30 47 CFACPP=${DRIVER_DIR}cfa-cpp 48 LOCAL_CFACC=${DRIVER_DIR}cfa 49 LOCAL_CC1=${DRIVER_DIR}cc1 50 51 AM_CONDITIONAL([ENABLE_DISTCC], [test x$enable_distcc = xyes]) 52 31 53 AC_SUBST(CFACC) 32 54 AC_SUBST(CFACPP) 55 AC_SUBST(LOCAL_CFACC) 56 AC_SUBST(LOCAL_CC1) 57 AC_SUBST(CFADIR_HASH) 33 58 AC_SUBST(CFA_VERSION) 59 AC_SUBST(PRELUDEFLAG) 34 60 35 61 #============================================================================== -
libcfa/prelude/Makefile.am
rfd8f88f ra539fc3 23 23 cfalib_DATA = gcc-builtins.cf builtins.cf extras.cf prelude.cfa bootloader.c 24 24 25 CC = @ CFACC@25 CC = @LOCAL_CFACC@ 26 26 AM_CFLAGS = -g -Wall -Wno-unused-function -fPIC @ARCH_FLAGS@ @CONFIG_CFLAGS@ 27 27 AM_CFAFLAGS = @CONFIG_CFAFLAGS@ … … 54 54 55 55 # create forward declarations for cfa builtins 56 builtins.cf : builtins.c ${CC}56 builtins.cf : builtins.c @LOCAL_CFACC@ 57 57 ${AM_V_GEN}gcc ${AM_CFLAGS} -E -P ${<} -o ${@} -MD -MP -MF $(DEPDIR)/builtins.Po -D__cforall 58 58 ${AM_V_at}sed -i 's/builtins.o/builtins.cf/g' $(DEPDIR)/builtins.Po … … 68 68 MOSTLYCLEANFILES = bootloader.c builtins.cf extras.cf gcc-builtins.c gcc-builtins.cf prelude.cfa 69 69 MAINTAINERCLEANFILES = ${addprefix ${libdir}/,${cfalib_DATA}} ${addprefix ${libdir}/,${lib_LIBRARIES}} 70 71 if ENABLE_DISTCC 72 distribution: @LOCAL_CFACC@ @LOCAL_CC1@ @CFACPP@ gcc-builtins.cf builtins.cf extras.cf prelude.cfa bootloader.c $(srcdir)/../../tools/build/push2dist.sh 73 ${AM_V_GEN}$(srcdir)/../../tools/build/push2dist.sh @CFADIR_HASH@ 74 @echo "Dummy file to track distribution to remote hosts" > ${@} 75 76 all: all-am distribution 77 endif ENABLE_DISTCC -
libcfa/prelude/Makefile.in
rfd8f88f ra539fc3 167 167 AUTOMAKE = @AUTOMAKE@ 168 168 AWK = @AWK@ 169 CC = @ CFACC@169 CC = @LOCAL_CFACC@ 170 170 CCAS = @CCAS@ 171 171 CCASDEPMODE = @CCASDEPMODE@ … … 174 174 CFACC = @CFACC@ 175 175 CFACPP = @CFACPP@ 176 CFADIR_HASH = @CFADIR_HASH@ 176 177 CFA_BINDIR = @CFA_BINDIR@ 177 178 CFA_INCDIR = @CFA_INCDIR@ … … 217 218 LIPO = @LIPO@ 218 219 LN_S = @LN_S@ 220 LOCAL_CC1 = @LOCAL_CC1@ 221 LOCAL_CFACC = @LOCAL_CFACC@ 219 222 LTLIBOBJS = @LTLIBOBJS@ 220 223 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ … … 236 239 PACKAGE_VERSION = @PACKAGE_VERSION@ 237 240 PATH_SEPARATOR = @PATH_SEPARATOR@ 241 PRELUDEFLAG = @PRELUDEFLAG@ 238 242 RANLIB = @RANLIB@ 239 243 SED = @SED@ … … 555 559 556 560 # create forward declarations for cfa builtins 557 builtins.cf : builtins.c ${CC}561 builtins.cf : builtins.c @LOCAL_CFACC@ 558 562 ${AM_V_GEN}gcc ${AM_CFLAGS} -E -P ${<} -o ${@} -MD -MP -MF $(DEPDIR)/builtins.Po -D__cforall 559 563 ${AM_V_at}sed -i 's/builtins.o/builtins.cf/g' $(DEPDIR)/builtins.Po … … 566 570 maintainer-clean-local : 567 571 rm -rf $(DEPDIR) 572 573 @ENABLE_DISTCC_TRUE@distribution: @LOCAL_CFACC@ @LOCAL_CC1@ @CFACPP@ gcc-builtins.cf builtins.cf extras.cf prelude.cfa bootloader.c $(srcdir)/../../tools/build/push2dist.sh 574 @ENABLE_DISTCC_TRUE@ ${AM_V_GEN}$(srcdir)/../../tools/build/push2dist.sh @CFADIR_HASH@ 575 @ENABLE_DISTCC_TRUE@ @echo "Dummy file to track distribution to remote hosts" > ${@} 576 577 @ENABLE_DISTCC_TRUE@all: all-am distribution 568 578 569 579 # Tell versions [3.59,3.63) of GNU make to not export all variables. -
libcfa/src/Makefile.am
rfd8f88f ra539fc3 32 32 # use -no-include-stdhdr to prevent rebuild cycles 33 33 # The built sources must not depend on the installed headers 34 AM_CFAFLAGS = -quiet - in-tree -I$(srcdir)/stdhdr $(if $(findstring ${gdbwaittarget}, ${@}), -XCFA --gdb)@CONFIG_CFAFLAGS@34 AM_CFAFLAGS = -quiet -cfalib @PRELUDEFLAG@ -I$(srcdir)/stdhdr $(if $(findstring ${gdbwaittarget}, ${@}), -XCFA --gdb) @CONFIG_CFAFLAGS@ 35 35 AM_CFLAGS = -g -Wall -Wno-unused-function -fPIC @ARCH_FLAGS@ @CONFIG_CFLAGS@ 36 36 AM_CCASFLAGS = -g -Wall -Wno-unused-function @ARCH_FLAGS@ @CONFIG_CFLAGS@ … … 64 64 # add dependency of cfa files 65 65 libobjs = $(addsuffix .lo, $(basename $(filter %.cfa,$(libsrc)))) 66 $(libobjs) : @ CFACC@ @CFACPP@ prelude.cfa66 $(libobjs) : @LOCAL_CFACC@ @CFACPP@ prelude.cfa 67 67 68 68 thread_libobjs = $(addsuffix .lo, $(basename $(filter %.cfa,$(thread_libsrc)))) 69 $(thread_libobjs) : @ CFACC@ @CFACPP@ prelude.cfa69 $(thread_libobjs) : @LOCAL_CFACC@ @CFACPP@ prelude.cfa 70 70 71 71 … … 86 86 87 87 88 prelude.o : prelude.cfa extras.cf gcc-builtins.cf builtins.cf @ CFACC@ @CFACPP@89 ${AM_V_GEN}$(CFACOMPILE) -quiet -in-tree-XCFA -l ${<} -c -o ${@}88 prelude.o : prelude.cfa extras.cf gcc-builtins.cf builtins.cf @LOCAL_CFACC@ @CFACPP@ 89 ${AM_V_GEN}$(CFACOMPILE) -quiet @PRELUDEFLAG@ -XCFA -l ${<} -c -o ${@} 90 90 91 prelude.lo: prelude.cfa extras.cf gcc-builtins.cf builtins.cf @ CFACC@ @CFACPP@91 prelude.lo: prelude.cfa extras.cf gcc-builtins.cf builtins.cf @LOCAL_CFACC@ @CFACPP@ 92 92 ${AM_V_GEN}$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile \ 93 $(CFACOMPILE) -quiet -in-tree-XCFA -l ${<} -c -o ${@}93 $(CFACOMPILE) -quiet @PRELUDEFLAG@ -XCFA -l ${<} -c -o ${@} 94 94 95 95 -
libcfa/src/Makefile.in
rfd8f88f ra539fc3 284 284 CFACC = @CFACC@ 285 285 CFACPP = @CFACPP@ 286 CFADIR_HASH = @CFADIR_HASH@ 286 287 CFA_BINDIR = @CFA_BINDIR@ 287 288 CFA_INCDIR = @CFA_INCDIR@ … … 327 328 LIPO = @LIPO@ 328 329 LN_S = @LN_S@ 330 LOCAL_CC1 = @LOCAL_CC1@ 331 LOCAL_CFACC = @LOCAL_CFACC@ 329 332 LTLIBOBJS = @LTLIBOBJS@ 330 333 LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ … … 346 349 PACKAGE_VERSION = @PACKAGE_VERSION@ 347 350 PATH_SEPARATOR = @PATH_SEPARATOR@ 351 PRELUDEFLAG = @PRELUDEFLAG@ 348 352 RANLIB = @RANLIB@ 349 353 SED = @SED@ … … 441 445 # use -no-include-stdhdr to prevent rebuild cycles 442 446 # The built sources must not depend on the installed headers 443 AM_CFAFLAGS = -quiet - in-tree -I$(srcdir)/stdhdr $(if $(findstring ${gdbwaittarget}, ${@}), -XCFA --gdb)@CONFIG_CFAFLAGS@447 AM_CFAFLAGS = -quiet -cfalib @PRELUDEFLAG@ -I$(srcdir)/stdhdr $(if $(findstring ${gdbwaittarget}, ${@}), -XCFA --gdb) @CONFIG_CFAFLAGS@ 444 448 AM_CFLAGS = -g -Wall -Wno-unused-function -fPIC @ARCH_FLAGS@ @CONFIG_CFLAGS@ 445 449 AM_CCASFLAGS = -g -Wall -Wno-unused-function @ARCH_FLAGS@ @CONFIG_CFLAGS@ … … 937 941 $(LTCFACOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ 938 942 $(am__mv) $$depbase.Tpo $$depbase.Plo 939 $(libobjs) : @ CFACC@ @CFACPP@ prelude.cfa940 $(thread_libobjs) : @ CFACC@ @CFACPP@ prelude.cfa943 $(libobjs) : @LOCAL_CFACC@ @CFACPP@ prelude.cfa 944 $(thread_libobjs) : @LOCAL_CFACC@ @CFACPP@ prelude.cfa 941 945 942 946 -include $(libdeps) … … 944 948 -include $(thread_libdeps) 945 949 946 prelude.o : prelude.cfa extras.cf gcc-builtins.cf builtins.cf @ CFACC@ @CFACPP@947 ${AM_V_GEN}$(CFACOMPILE) -quiet -in-tree-XCFA -l ${<} -c -o ${@}948 949 prelude.lo: prelude.cfa extras.cf gcc-builtins.cf builtins.cf @ CFACC@ @CFACPP@950 prelude.o : prelude.cfa extras.cf gcc-builtins.cf builtins.cf @LOCAL_CFACC@ @CFACPP@ 951 ${AM_V_GEN}$(CFACOMPILE) -quiet @PRELUDEFLAG@ -XCFA -l ${<} -c -o ${@} 952 953 prelude.lo: prelude.cfa extras.cf gcc-builtins.cf builtins.cf @LOCAL_CFACC@ @CFACPP@ 950 954 ${AM_V_GEN}$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile \ 951 $(CFACOMPILE) -quiet -in-tree-XCFA -l ${<} -c -o ${@}955 $(CFACOMPILE) -quiet @PRELUDEFLAG@ -XCFA -l ${<} -c -o ${@} 952 956 953 957 #---------------------------------------------------------------------------------------------------------------- -
longrun_tests/Makefile.in
rfd8f88f ra539fc3 378 378 FGREP = @FGREP@ 379 379 GREP = @GREP@ 380 HAS_DISTCC = @HAS_DISTCC@ 380 381 HOST_FLAGS = @HOST_FLAGS@ 381 382 INSTALL = @INSTALL@ -
src/Makefile.in
rfd8f88f ra539fc3 441 441 FGREP = @FGREP@ 442 442 GREP = @GREP@ 443 HAS_DISTCC = @HAS_DISTCC@ 443 444 HOST_FLAGS = @HOST_FLAGS@ 444 445 INSTALL = @INSTALL@ -
tests/Makefile.am
rfd8f88f ra539fc3 35 35 36 36 # applies to both programs 37 # since automake doesn't have support for CFA we have to 37 38 AM_CFLAGS = $(if $(test), 2> $(test), ) \ 38 39 -g \ … … 42 43 -DIN_DIR="${abs_srcdir}/.in/" 43 44 44 AM_CFLAGS += ${DEBUG_FLAGS} ${INSTALL_FLAGS} ${ARCH_FLAGS} 45 CC = @CFACC@ 45 CC = $(if $(DISTCC_CFA_PATH),distcc $(DISTCC_CFA_PATH) -dist-tree -in-tree,@CFACC@ ${DEBUG_FLAGS} ${INSTALL_FLAGS} ${ARCH_FLAGS}) 46 CFACCBIN = @CFACC@ 47 CFACC = $(CC) 46 48 47 49 PRETTY_PATH=mkdir -p $(dir $(abspath ${@})) && cd ${srcdir} && … … 57 59 #---------------------------------------------------------------------------------------------------------------- 58 60 all-local : 59 @+${TEST_PY} --debug=${debug} --install=${installed} --archive-errors=${archiveerrors} ${concurrent} ${timeouts} ${quick_test}61 @+${TEST_PY} --debug=${debug} --install=${installed} --archive-errors=${archiveerrors} ${concurrent} ${timeouts} ${quick_test} 60 62 61 63 all-tests : 62 @+${TEST_PY} --debug=${debug} --install=${installed} --archive-errors=${archiveerrors} ${concurrent} ${timeouts} --all # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program64 @+${TEST_PY} --debug=${debug} --install=${installed} --archive-errors=${archiveerrors} ${concurrent} ${timeouts} --all # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program 63 65 64 66 clean-local : … … 87 89 88 90 # Use for all tests, make sure the path are correct and all flags are added 89 CFACOMPILETEST=$(PRETTY_PATH) $(CFACOMPILE) $(shell realpath --relative-to=${srcdir} ${<}) $($(shell echo "${@}_FLAGS" | sed 's/-\|\//_/g'))91 CFACOMPILETEST=$(PRETTY_PATH) $(CFACOMPILE) -c $(shell realpath --relative-to=${srcdir} ${<}) $($(shell echo "${@}_FLAGS" | sed 's/-\|\//_/g')) 90 92 91 # Use for tests that either generate an executable, print direct ylto stdout or the make command is expected to fail93 # Use for tests that either generate an executable, print directly to stdout or the make command is expected to fail 92 94 CFATEST_STDOUT=$(CFACOMPILETEST) -o $(abspath ${@}) 93 95 … … 98 100 99 101 # implicit rule so not all test require a rule 100 % : %.cfa $(CFACC) 101 $(CFATEST_STDOUT) 102 % : %.cfa $(CFACCBIN) 103 $(CFACOMPILETEST) -o $(abspath ${@}).o 104 $(CFACC) $(abspath ${@}).o -o $(abspath ${@}) 105 102 106 103 107 % : %.cpp … … 123 127 # CUSTOM TARGET 124 128 #------------------------------------------------------------------------------ 125 typedefRedef-ERR1: typedefRedef.cfa $(CFACC )129 typedefRedef-ERR1: typedefRedef.cfa $(CFACCBIN) 126 130 $(CFATEST_STDOUT) -DERR1 127 131 128 alloc-ERROR: alloc.cfa $(CFACC )132 alloc-ERROR: alloc.cfa $(CFACCBIN) 129 133 $(CFATEST_STDOUT) -DERR1 130 134 131 nested-types-ERR1: nested-types.cfa $(CFACC )135 nested-types-ERR1: nested-types.cfa $(CFACCBIN) 132 136 $(CFATEST_STDOUT) -DERR1 133 137 134 nested-types-ERR2: nested-types.cfa $(CFACC )138 nested-types-ERR2: nested-types.cfa $(CFACCBIN) 135 139 $(CFATEST_STDOUT) -DERR2 136 140 137 raii/dtor-early-exit-ERR1: raii/dtor-early-exit.cfa $(CFACC )141 raii/dtor-early-exit-ERR1: raii/dtor-early-exit.cfa $(CFACCBIN) 138 142 $(CFATEST_STDOUT) -DERR1 139 143 140 raii/dtor-early-exit-ERR2: raii/dtor-early-exit.cfa $(CFACC )144 raii/dtor-early-exit-ERR2: raii/dtor-early-exit.cfa $(CFACCBIN) 141 145 $(CFATEST_STDOUT) -DERR2 142 146 143 raii/memberCtors-ERR1: raii/memberCtors.cfa $(CFACC )147 raii/memberCtors-ERR1: raii/memberCtors.cfa $(CFACCBIN) 144 148 $(CFATEST_STDOUT) -DERR1 145 149 146 raii/ctor-autogen-ERR1: raii/ctor-autogen.cfa $(CFACC )150 raii/ctor-autogen-ERR1: raii/ctor-autogen.cfa $(CFACCBIN) 147 151 $(CFATEST_STDOUT) -DERR1 148 152 149 153 #builtins 150 builtins/sync: builtins/sync.cfa $(CFACC )154 builtins/sync: builtins/sync.cfa $(CFACCBIN) 151 155 $(CFATEST_STDERR) -fsyntax-only 152 156 153 157 # Warnings 154 warnings/self-assignment: warnings/self-assignment.cfa $(CFACC )158 warnings/self-assignment: warnings/self-assignment.cfa $(CFACCBIN) 155 159 $(CFATEST_STDERR) -fsyntax-only -
tests/Makefile.in
rfd8f88f ra539fc3 212 212 AWK = @AWK@ 213 213 BUILD_IN_TREE_FLAGS = @BUILD_IN_TREE_FLAGS@ 214 CC = @CFACC@214 CC = $(if $(DISTCC_CFA_PATH),distcc $(DISTCC_CFA_PATH) -dist-tree -in-tree,@CFACC@ ${DEBUG_FLAGS} ${INSTALL_FLAGS} ${ARCH_FLAGS}) 215 215 CCAS = @CCAS@ 216 216 CCASDEPMODE = @CCASDEPMODE@ 217 217 CCASFLAGS = @CCASFLAGS@ 218 218 CCDEPMODE = @CCDEPMODE@ 219 CFACC = @CFACC@219 CFACC = $(CC) 220 220 CFACPP = @CFACPP@ 221 221 CFA_BACKEND_CC = @CFA_BACKEND_CC@ … … 248 248 FGREP = @FGREP@ 249 249 GREP = @GREP@ 250 HAS_DISTCC = @HAS_DISTCC@ 250 251 HOST_FLAGS = @HOST_FLAGS@ 251 252 INSTALL = @INSTALL@ … … 386 387 387 388 # applies to both programs 388 AM_CFLAGS = $(if $(test), 2> $(test), ) -g -Wall -Wno-unused-function \ 389 -quiet @CFA_FLAGS@ -DIN_DIR="${abs_srcdir}/.in/" \ 390 ${DEBUG_FLAGS} ${INSTALL_FLAGS} ${ARCH_FLAGS} 389 # since automake doesn't have support for CFA we have to 390 AM_CFLAGS = $(if $(test), 2> $(test), ) \ 391 -g \ 392 -Wall \ 393 -Wno-unused-function \ 394 -quiet @CFA_FLAGS@ \ 395 -DIN_DIR="${abs_srcdir}/.in/" 396 397 CFACCBIN = @CFACC@ 391 398 PRETTY_PATH = mkdir -p $(dir $(abspath ${@})) && cd ${srcdir} && 392 399 avl_test_SOURCES = avltree/avl_test.cfa avltree/avl0.cfa avltree/avl1.cfa avltree/avl2.cfa avltree/avl3.cfa avltree/avl4.cfa avltree/avl-private.cfa … … 397 404 398 405 # Use for all tests, make sure the path are correct and all flags are added 399 CFACOMPILETEST = $(PRETTY_PATH) $(CFACOMPILE) $(shell realpath --relative-to=${srcdir} ${<}) $($(shell echo "${@}_FLAGS" | sed 's/-\|\//_/g'))400 401 # Use for tests that either generate an executable, print direct ylto stdout or the make command is expected to fail406 CFACOMPILETEST = $(PRETTY_PATH) $(CFACOMPILE) -c $(shell realpath --relative-to=${srcdir} ${<}) $($(shell echo "${@}_FLAGS" | sed 's/-\|\//_/g')) 407 408 # Use for tests that either generate an executable, print directly to stdout or the make command is expected to fail 402 409 CFATEST_STDOUT = $(CFACOMPILETEST) -o $(abspath ${@}) 403 410 … … 771 778 #---------------------------------------------------------------------------------------------------------------- 772 779 all-local : 773 @+${TEST_PY} --debug=${debug} --install=${installed} --archive-errors=${archiveerrors} ${concurrent} ${timeouts} ${quick_test}780 @+${TEST_PY} --debug=${debug} --install=${installed} --archive-errors=${archiveerrors} ${concurrent} ${timeouts} ${quick_test} 774 781 775 782 all-tests : 776 @+${TEST_PY} --debug=${debug} --install=${installed} --archive-errors=${archiveerrors} ${concurrent} ${timeouts} --all # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program783 @+${TEST_PY} --debug=${debug} --install=${installed} --archive-errors=${archiveerrors} ${concurrent} ${timeouts} --all # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program 777 784 778 785 clean-local : … … 801 808 802 809 # implicit rule so not all test require a rule 803 % : %.cfa $(CFACC) 804 $(CFATEST_STDOUT) 810 % : %.cfa $(CFACCBIN) 811 $(CFACOMPILETEST) -o $(abspath ${@}).o 812 $(CFACC) $(abspath ${@}).o -o $(abspath ${@}) 805 813 806 814 % : %.cpp … … 810 818 # CUSTOM TARGET 811 819 #------------------------------------------------------------------------------ 812 typedefRedef-ERR1: typedefRedef.cfa $(CFACC )820 typedefRedef-ERR1: typedefRedef.cfa $(CFACCBIN) 813 821 $(CFATEST_STDOUT) -DERR1 814 822 815 alloc-ERROR: alloc.cfa $(CFACC )823 alloc-ERROR: alloc.cfa $(CFACCBIN) 816 824 $(CFATEST_STDOUT) -DERR1 817 825 818 nested-types-ERR1: nested-types.cfa $(CFACC )826 nested-types-ERR1: nested-types.cfa $(CFACCBIN) 819 827 $(CFATEST_STDOUT) -DERR1 820 828 821 nested-types-ERR2: nested-types.cfa $(CFACC )829 nested-types-ERR2: nested-types.cfa $(CFACCBIN) 822 830 $(CFATEST_STDOUT) -DERR2 823 831 824 raii/dtor-early-exit-ERR1: raii/dtor-early-exit.cfa $(CFACC )832 raii/dtor-early-exit-ERR1: raii/dtor-early-exit.cfa $(CFACCBIN) 825 833 $(CFATEST_STDOUT) -DERR1 826 834 827 raii/dtor-early-exit-ERR2: raii/dtor-early-exit.cfa $(CFACC )835 raii/dtor-early-exit-ERR2: raii/dtor-early-exit.cfa $(CFACCBIN) 828 836 $(CFATEST_STDOUT) -DERR2 829 837 830 raii/memberCtors-ERR1: raii/memberCtors.cfa $(CFACC )838 raii/memberCtors-ERR1: raii/memberCtors.cfa $(CFACCBIN) 831 839 $(CFATEST_STDOUT) -DERR1 832 840 833 raii/ctor-autogen-ERR1: raii/ctor-autogen.cfa $(CFACC )841 raii/ctor-autogen-ERR1: raii/ctor-autogen.cfa $(CFACCBIN) 834 842 $(CFATEST_STDOUT) -DERR1 835 843 836 844 #builtins 837 builtins/sync: builtins/sync.cfa $(CFACC )845 builtins/sync: builtins/sync.cfa $(CFACCBIN) 838 846 $(CFATEST_STDERR) -fsyntax-only 839 847 840 848 # Warnings 841 warnings/self-assignment: warnings/self-assignment.cfa $(CFACC )849 warnings/self-assignment: warnings/self-assignment.cfa $(CFACCBIN) 842 850 $(CFATEST_STDERR) -fsyntax-only 843 851 -
tests/config.py.in
rfd8f88f ra539fc3 8 8 BUILDDIR = "@abs_builddir@" 9 9 HOSTARCH = "@host_cpu@" 10 DISTRIBUTE = @HAS_DISTCC@ -
tests/pybin/settings.py
rfd8f88f ra539fc3 14 14 SRCDIR = os.path.abspath(config.SRCDIR) 15 15 BUILDDIR = os.path.abspath(config.BUILDDIR) 16 distribute = config.DISTRIBUTE 16 17 os.chdir(testpath) 17 18 … … 88 89 self.string = "debug" if value else "no debug" 89 90 self.flags = """DEBUG_FLAGS=%s""" % ("-debug -O0" if value else "-nodebug -O2") 91 self.path = "debug" if value else "nodebug" 90 92 91 93 class Install: 92 94 def __init__(self, value): 95 if value: 96 distribute = False 97 93 98 self.string = "installed" if value else "in-tree" 94 99 self.flags = """INSTALL_FLAGS=%s""" % ("" if value else "-in-tree") … … 109 114 def init( options ): 110 115 global arch 116 global archive 117 global debug 118 global distcc 111 119 global dry_run 112 120 global generating 121 global install 113 122 global make 114 global debug 115 global install 123 global output_width 116 124 global timeout 117 global output_width118 global archive119 125 120 dry_run = options.dry_run 126 arch = Architecture(options.arch) 127 archive = os.path.abspath(os.path.join(original_path, options.archive_errors)) if options.archive_errors else None 128 debug = Debug(options.debug) 129 dry_run = options.dry_run # must be called before tools.config_hash() 130 distcc = "DISTCC_CFA_PATH=~/.cfadistcc/%s/cfa" % tools.config_hash() 121 131 generating = options.regenerate_expected 132 install = Install(options.install) 122 133 make = ['make'] 123 debug = Debug(options.debug) 124 install = Install(options.install) 125 arch = Architecture(options.arch) 134 output_width = 24 126 135 timeout = Timeouts(options.timeout, options.global_timeout) 127 output_width = 24128 archive = os.path.abspath(os.path.join(original_path, options.archive_errors)) if options.archive_errors else None129 136 137 # if we distribute, distcc errors will fail tests, use log file for distcc 138 # don't use "'DISTCC_LOG' not in os.environ" because it can be set to '' 139 if distribute and not os.environ.get('DISTCC_LOG'): 140 os.putenv('DISTCC_LOG', os.path.join(BUILDDIR, 'distcc_error.log')) 130 141 131 142 def update_make_cmd(force, jobs): … … 136 147 def validate(): 137 148 errf = os.path.join(BUILDDIR, ".validate.err") 138 make_ret, out = tools.make( ".validate", error_file = errf, output =subprocess.DEVNULL, error=subprocess.DEVNULL )149 make_ret, out = tools.make( ".validate", error_file = errf, output_file=subprocess.DEVNULL, error=subprocess.DEVNULL ) 139 150 if make_ret != 0: 140 151 with open (errf, "r") as myfile: -
tests/pybin/tools.py
rfd8f88f ra539fc3 23 23 24 24 # helper functions to run terminal commands 25 def sh(*cmd, timeout = False, output = None, input = None, error = subprocess.STDOUT):25 def sh(*cmd, timeout = False, output_file = None, input_file = None, input_text = None, error = subprocess.STDOUT): 26 26 cmd = list(cmd) 27 28 if input_file and input_text: 29 return 401, "Cannot use both text and file inputs" 27 30 28 31 # if this is a dry_run, only print the commands that would be ran 29 32 if settings.dry_run : 30 33 cmd = "{} cmd: {}".format(os.getcwd(), ' '.join(cmd)) 31 if output and not isinstance(output, int):34 if output_file and not isinstance(output_file, int): 32 35 cmd += " > " 33 cmd += output 36 cmd += output_file 34 37 35 38 if error and not isinstance(error, int): … … 37 40 cmd += error 38 41 39 if input and not isinstance(input, int) and os.path.isfile(input):42 if input_file and not isinstance(input_file, int) and os.path.isfile(input_file): 40 43 cmd += " < " 41 cmd += input 44 cmd += input_file 42 45 43 46 print(cmd) … … 46 49 with contextlib.ExitStack() as onexit: 47 50 # add input redirection if needed 48 input = openfd(input, 'r', onexit, True)51 input_file = openfd(input_file, 'r', onexit, True) 49 52 50 53 # add output redirection if needed 51 output = openfd(output, 'w', onexit, False)54 output_file = openfd(output_file, 'w', onexit, False) 52 55 53 56 # add error redirection if needed … … 58 61 proc = subprocess.run( 59 62 cmd, 60 stdin =input,61 stdout =output,62 stderr =error,63 timeout =settings.timeout.single if timeout else None63 **({'input' : bytes(input_text, encoding='utf-8')} if input_text else {'stdin' : input_file}), 64 stdout = output_file, 65 stderr = error, 66 timeout = settings.timeout.single if timeout else None 64 67 ) 68 65 69 return proc.returncode, proc.stdout.decode("utf-8") if proc.stdout else None 66 70 except subprocess.TimeoutExpired: … … 75 79 return False 76 80 77 code, out = sh("file %s" % fname, output =subprocess.PIPE)81 code, out = sh("file %s" % fname, output_file=subprocess.PIPE) 78 82 if code != 0: 79 83 return False … … 107 111 if isinstance(files, str ): files = [ files ] 108 112 for file in files: 109 sh( 'rm', '-f', file, output =subprocess.DEVNULL, error=subprocess.DEVNULL )113 sh( 'rm', '-f', file, output_file=subprocess.DEVNULL, error=subprocess.DEVNULL ) 110 114 111 115 # Create 1 or more directory … … 115 119 p = os.path.normpath( file ) 116 120 d = os.path.dirname ( p ) 117 sh( 'mkdir', '-p', d, output =subprocess.DEVNULL, error=subprocess.DEVNULL )121 sh( 'mkdir', '-p', d, output_file=subprocess.DEVNULL, error=subprocess.DEVNULL ) 118 122 119 123 … … 138 142 lhs, 139 143 rhs, 140 output =subprocess.PIPE144 output_file=subprocess.PIPE 141 145 ) 142 146 143 147 # call make 144 def make(target, *, flags = '', output = None, error = None, error_file = None, silent = False):148 def make(target, *, flags = '', output_file = None, error = None, error_file = None, silent = False): 145 149 test_param = """test="%s" """ % (error_file) if error_file else None 146 150 cmd = [ … … 151 155 settings.debug.flags, 152 156 settings.install.flags, 157 settings.distcc if settings.distribute else None, 153 158 flags, 154 159 target 155 160 ] 156 161 cmd = [s for s in cmd if s] 157 return sh(*cmd, output =output, error=error)162 return sh(*cmd, output_file=output_file, error=error) 158 163 159 164 def which(program): … … 201 206 # cat one file into the other 202 207 def cat(source, dest): 203 ret, _ = sh("cat", source, output =dest)208 ret, _ = sh("cat", source, output_file=dest) 204 209 return ret 205 210 … … 274 279 ################################################################################ 275 280 281 # get hash for given configuration 282 def config_hash(): 283 path = os.path.normpath(os.path.join( 284 settings.SRCDIR, 285 )) 286 287 distcc_hash = os.path.join(settings.SRCDIR, '../tools/build/distcc_hash') 288 config = "%s-%s" % (settings.arch.target, settings.debug.path) 289 _, out = sh(distcc_hash, config, output_file=subprocess.PIPE) 290 return out.strip() 291 292 # get pretty string for time of day 276 293 def pretty_now(): 277 294 ts = time.time() … … 308 325 return 1, "ERR No core dump" 309 326 310 return sh('gdb', '-n', path, core, '-batch', '-x', cmd, output =subprocess.PIPE)327 return sh('gdb', '-n', path, core, '-batch', '-x', cmd, output_file=subprocess.PIPE) 311 328 312 329 def core_archive(dst, name, exe): -
tests/test.py
rfd8f88f ra539fc3 143 143 # build, skipping to next test on error 144 144 with Timed() as comp_dur: 145 make_ret, _ = make( test.target(), output =subprocess.DEVNULL, error=out_file, error_file = err_file )145 make_ret, _ = make( test.target(), output_file=subprocess.DEVNULL, error=out_file, error_file = err_file ) 146 146 147 147 run_dur = None … … 153 153 if settings.dry_run or is_exe(exe_file): 154 154 # run test 155 retcode, _ = sh(exe_file, output =out_file, input=in_file, timeout=True)155 retcode, _ = sh(exe_file, output_file=out_file, input_file=in_file, timeout=True) 156 156 else : 157 157 # simply cat the result into the output … … 219 219 def run_tests(tests, jobs) : 220 220 # clean the sandbox from previous commands 221 make('clean', output =subprocess.DEVNULL, error=subprocess.DEVNULL)221 make('clean', output_file=subprocess.DEVNULL, error=subprocess.DEVNULL) 222 222 223 223 # create the executor for our jobs and handle the signal properly … … 260 260 261 261 # clean the workspace 262 make('clean', output =subprocess.DEVNULL, error=subprocess.DEVNULL)262 make('clean', output_file=subprocess.DEVNULL, error=subprocess.DEVNULL) 263 263 264 264 return 1 if failed else 0 -
tools/Makefile.in
rfd8f88f ra539fc3 238 238 FGREP = @FGREP@ 239 239 GREP = @GREP@ 240 HAS_DISTCC = @HAS_DISTCC@ 240 241 HOST_FLAGS = @HOST_FLAGS@ 241 242 INSTALL = @INSTALL@ -
tools/prettyprinter/Makefile.in
rfd8f88f ra539fc3 267 267 FGREP = @FGREP@ 268 268 GREP = @GREP@ 269 HAS_DISTCC = @HAS_DISTCC@ 269 270 HOST_FLAGS = @HOST_FLAGS@ 270 271 INSTALL = @INSTALL@
Note:
See TracChangeset
for help on using the changeset viewer.