diff options
| author | letouzey | 2011-09-19 09:38:22 +0000 |
|---|---|---|
| committer | letouzey | 2011-09-19 09:38:22 +0000 |
| commit | 0204e998d50d6ee881e5878b2a8c45a687d3124f (patch) | |
| tree | 8ce8bfa907cd7a3e8d908584cdafe0a958c06575 /test-suite | |
| parent | 251b34ac94d8797637b3ca5acce5db593950d0c5 (diff) | |
Fix test-suite/ide for repository compiled without -local (fix #2600)
- Add option -boot to the coqtop given to fake_ide
- Be sure that a dying coqtop subprocess cannot go unnoticed.
Before that, for repositories compiled without -local,
coqtop -ideslave was dying immediately because it was missing
its coqlib informations. Then the first command send via
Marshal.to_channel was triggering a SIGPIPE and hence the death
of fake_ide. Strangely, the return code was not necessarily
understood as non-zero (?!). We now catch SIGPIPE and do an
"exit 1".
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14480 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test-suite/Makefile b/test-suite/Makefile index 828a710b14..cd5886f823 100644 --- a/test-suite/Makefile +++ b/test-suite/Makefile @@ -431,7 +431,7 @@ ide : $(patsubst %.fake,%.fake.log,$(wildcard ide/*.fake)) @echo "TEST $<" $(HIDE){ \ echo $(call log_intro,$<); \ - $(BIN)fake_ide $(BIN)coqtop < $< 2>&1; \ + $(BIN)fake_ide "$(BIN)coqtop -boot" < $< 2>&1; \ if [ $$? = 0 ]; then \ echo $(log_success); \ echo " $<...Ok"; \ |
