• Kirill Smelkov's avatar
    t/tfault-run: Clear state from previous run before starting · cf92dfca
    Kirill Smelkov authored
    Otherwise, if previous test.fault failed, tfault-run fails to start, e.g.
    
        >>> test.fault
        $ make test.fault # MAKEFLAGS=-j1
        x86_64-linux-gnu-gcc -pthread -g -Wall -D_GNU_SOURCE -std=gnu99 -fplan9-extensions -Wno-declaration-after-statement -Wno-error=declaration-after-statement  -Iinclude -I3rdparty/ccan -I3rdparty/include   bigfile/tests/tfault.c lib/bug.c lib/utils.c 3rdparty/ccan/ccan/tap/tap.c  -o bigfile/tests/tfault.t
        t/tfault-run bigfile/tests/tfault.t faultr on_pagefault
        mkdir: cannot create directory ‘t/tfault-run.faultr’: File exists
        Makefile:186: recipe for target 'faultr.tfault' failed
        make: *** [faultr.tfault] Error 1
        rm bigfile/tests/tfault.t
        error   test.fault      0.433s  # 1t 1e 0f 0s
    cf92dfca
Name
Last commit
Last update
3rdparty Loading commit data...
bigarray Loading commit data...
bigfile Loading commit data...
demo Loading commit data...
include/wendelin Loading commit data...
lib Loading commit data...
t Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.nxdtest Loading commit data...
CHANGELOG.rst Loading commit data...
COPYING Loading commit data...
Makefile Loading commit data...
README.rst Loading commit data...
setup.py Loading commit data...
tox.ini Loading commit data...
wendelin.py Loading commit data...