Open timotheecour opened 10 years ago
I looked into it.
basicly the runner spawns threads witch spwan the bin/sdc
processes.
Therefore the SIGTERM
cannot get through.
I figured to make thoose tests run really fast the runner needs to be more tightly integrated with SDC. It will take a while to offer a proper runner but the testSuite will run blazingly fast then.
@timotheecour solved! my new runner is not only interruptible it is also 7.5x faster then the old one. on my machine the tests run in 4 seconds it it not merged yet. please clone https://github.com/UplinkCoder/sdc32-experimental to check it out
currently ./runner can't be stopped until it finishes. would be good to either provide signal handler to kill all threads on control C or control \ (or at least show pid of running program so we can kill it with kill -9 pid; that's less fragile than running ps x|grep runner as this could have more than 1 entry)