$ make test TESTFLAGS='-singleproc 1 -file "sfbugs.test typeclass.test"'
...
sfbugs.test
typeclass.test
make: *** [test] Segmentation fault
$ make test TESTFLAGS='-singleproc 1 -file "sfbugs.test typeoption.test"'
My guess is that something in sfbugs.test is
running code (testing some old bug) that creates
instability so that the next thing to run is going
to crash.
I would isolate it to the causal test, but the
Itcl test suite had not been constructed properly
to permit the -skip and -match options to work.
Test setup and cleanup steps need to move into
-setup and -cleanup blocks.
Last edit: Don Porter 2014-09-17
This may be as simple as the [oo::class destroy]
in test sfbug-254. After that we would expect
Itcl to fail. So the followup has two parts:
1) Itcl should fail, but not crash, when oo::class
is not in place.
2) Test sfbug-254 should have its effects isolated,
so that other tests may follow it in the same
interp. Simplest way is to shove the guts of
the test down into a slave interp.
I have done what has been suggested, the cases I found no longer crash
and I am using a slave interp for the test cases to avoid side effects.
Right now I cannot connect to fossil repository, I will commit as soon
as that is working again.
Last edit: Arnulf Wiedemann 2014-09-20
Diff: