diff options
| author | Gareth Rees | 2013-05-24 18:44:18 +0100 |
|---|---|---|
| committer | Gareth Rees | 2013-05-24 18:44:18 +0100 |
| commit | ba1a45d970c0d739f216074d7629b2e5babc462c (patch) | |
| tree | b8b29170589064cc2acfba4d32369993a7dc0395 /mps/code | |
| parent | 4c5bca4bd0089577b6b296ac16f0aafb630667bb (diff) | |
| parent | f4b445d1b55aedecc5bd014004a0a84bfc6666a1 (diff) | |
| download | emacs-ba1a45d970c0d739f216074d7629b2e5babc462c.tar.gz emacs-ba1a45d970c0d739f216074d7629b2e5babc462c.zip | |
Catch-up merge from master sources to mps/branch/2013-05-17/emergency.
Copied from Perforce
Change: 182170
ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code')
| -rw-r--r-- | mps/code/comm.gmk | 22 | ||||
| -rw-r--r-- | mps/code/mps.xcodeproj/project.pbxproj | 2 |
2 files changed, 11 insertions, 13 deletions
diff --git a/mps/code/comm.gmk b/mps/code/comm.gmk index ee0da903bc7..a4d41a9cbd9 100644 --- a/mps/code/comm.gmk +++ b/mps/code/comm.gmk | |||
| @@ -231,21 +231,19 @@ all: mpmss sacss amcss amcssth amcsshe amsss amssshe segsmss awlut awluthe \ | |||
| 231 | mps.a mpsplan.a | 231 | mps.a mpsplan.a |
| 232 | 232 | ||
| 233 | 233 | ||
| 234 | # Runs the automatic tests that are built with CONFIG_PROD_MPS. | 234 | # Runs the automated tests. |
| 235 | # These tests are run overnight (see design.buildsys.overnight). | 235 | # |
| 236 | # bttest & teletest cannot be run unattended | 236 | # %%TARGET: When adding a new target, if target is suitable for |
| 237 | # %%TARGET: When adding a new target, if target is suitable for the | 237 | # running as an automated test, then add it here. |
| 238 | # overnight tests, then add it here. | 238 | # |
| 239 | TESTCASES=abqtest amcss amcsshe amcssth amsss amssshe apss arenacv awlut \ | 239 | # bttest and teletest are not listed here because they are interactive |
| 240 | awluthe btcv cbstest finalcv finaltest lockcov locv \ | 240 | # and so cannot be run unattended. |
| 241 | TESTCASES=abqtest amcss amcsshe amcssth amsss amssshe apss arenacv \ | ||
| 242 | awlut awluthe btcv cbstest finalcv finaltest lockcov locv \ | ||
| 241 | messtest mpmss mpsicv mv2test poolncv qs sacss segsmss \ | 243 | messtest mpmss mpsicv mv2test poolncv qs sacss segsmss \ |
| 242 | steptest walkt0 | 244 | steptest walkt0 |
| 243 | testrun: $(TESTCASES) | 245 | testrun: $(TESTCASES) |
| 244 | OUTPUT=$$(mktemp -d /tmp/mps.log.XXXXXX); \ | 246 | ../tool/testrun.sh $(addprefix $(PFM)/$(VARIETY)/,$(TESTCASES)) |
| 245 | echo "Logging test output to $$OUTPUT"; \ | ||
| 246 | $(^:%=(TEST=%; TESTCASE=$(PFM)/$(VARIETY)/$$TEST; \ | ||
| 247 | echo "Running $$TESTCASE" && \ | ||
| 248 | $$TESTCASE > $$OUTPUT/$$TEST || (cat $$OUTPUT/$$TEST; exit 1)) &&) true | ||
| 249 | 247 | ||
| 250 | # These convenience targets allow one to type "make foo" to build target | 248 | # These convenience targets allow one to type "make foo" to build target |
| 251 | # foo in selected varieties (or none, for the latter rule). | 249 | # foo in selected varieties (or none, for the latter rule). |
diff --git a/mps/code/mps.xcodeproj/project.pbxproj b/mps/code/mps.xcodeproj/project.pbxproj index 4274ff87e43..36b3e7ddac8 100644 --- a/mps/code/mps.xcodeproj/project.pbxproj +++ b/mps/code/mps.xcodeproj/project.pbxproj | |||
| @@ -2444,7 +2444,7 @@ | |||
| 2444 | ); | 2444 | ); |
| 2445 | runOnlyForDeploymentPostprocessing = 0; | 2445 | runOnlyForDeploymentPostprocessing = 0; |
| 2446 | shellPath = /bin/sh; | 2446 | shellPath = /bin/sh; |
| 2447 | shellScript = "# bttest & teletest cannot be run unattended\n# amcssth doesn't work on OS X (job001621)\nTESTCASES=\"abqtest amcss amcsshe amsss amssshe apss arenacv awlut \\\n awluthe btcv cbstest finalcv finaltest lockcov locv \\\n messtest mpmss mpsicv mv2test poolncv qs sacss segsmss \\\n steptest walkt0\"\nOUTPUT=$(mktemp -d /tmp/mps.log.XXXXXX)\necho \"Logging test output to $OUTPUT\"\nfor TEST in $TESTCASES; do\n TESTCASE=$TARGET_BUILD_DIR/$TEST\n echo \"Running $TEST ($CONFIGURATION)\"\n $TESTCASE > $OUTPUT/$TEST || (cat $OUTPUT/$TEST; exit 1)\ndone\necho \"All tests pass.\"\n\n# Coverage\nif [ \"$CONFIGURATION\" == \"Debug\" ]; then\n (cd xc/$PROJECT.build/$CONFIGURATION/$PROJECT.build/Objects-normal/x86_64 &&\n gcov mps.c 2> $OUTPUT/gcov) |\n python ../tool/gcovfmt.py $OUTPUT/coverage\nfi"; | 2447 | shellScript = "# bttest and teletest are not listed here because they cannot be run\n# unattended.\nTESTCASES=\"abqtest amcss amcsshe amcssth amsss amssshe apss arenacv \\\n awlut awluthe btcv cbstest finalcv finaltest lockcov locv \\\n messtest mpmss mpsicv mv2test poolncv qs sacss segsmss \\\n steptest walkt0\"\n../tool/testrun.sh $(for TEST in $TESTCASES; do echo $TARGET_BUILD_DIR/$TEST; done)\n\n# Coverage\nif [ \"$CONFIGURATION\" == \"Debug\" ]; then\n (cd xc/$PROJECT.build/$CONFIGURATION/$PROJECT.build/Objects-normal/x86_64 &&\n gcov mps.c 2> /dev/null) | ../tool/gcovfmt.py\nfi"; |
| 2448 | showEnvVarsInLog = 0; | 2448 | showEnvVarsInLog = 0; |
| 2449 | }; | 2449 | }; |
| 2450 | /* End PBXShellScriptBuildPhase section */ | 2450 | /* End PBXShellScriptBuildPhase section */ |