Comment 75 for bug 1752378

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

pcheck would always fail at this stage:
make[6]: Entering directory '/home/ubuntu/git/pmdk-git/src/test/tools/pmemspoil'
cc -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -Wl,-z,relro -Wl,--warn-common -Wl,--fatal-warnings -L../../../../src/tools/../../src/../src/nondebug -o pmemspoil.static-debug spoil.o common.o output.o pme
mblk_priv.o ../../../../src/tools/../../src/../src/debug/libpmemcommon.a ../../../../src/tools/../../src/../src/debug/libpmem.a -pthread -ldl
output.o: file not recognized: File truncated
collect2: error: ld returned 1 exit status
../../../../src/tools/Makefile.inc:292: recipe for target 'pmemspoil.static-debug' failed
make[6]: *** [pmemspoil.static-debug] Error 1
make[6]: Leaving directory '/home/ubuntu/git/pmdk-git/src/test/tools/pmemspoil'

Without parallelization it worked:
        echo "PMEM_FS_DIR=/tmp" > src/test/testconfig.sh
        echo "PMEM_FS_DIR_FORCE_PMEM=1" >> src/test/testconfig.sh
        echo "TEST_BUILD=\"debug nondebug\"" >> src/test/testconfig.sh
        echo "TM=1" >> src/test/testconfig.sh
        # dh_auto_test calls make test, which only builds the test suite
        # make check (and pcheck, for parallel check) actually runs it
        dh_auto_test -- SKIP_SYNC_REMOTES=y
        make SKIP_SYNC_REMOTES=y check

21min to build with that in a VM. Not too bad. I'll add that to the package and skip the test if it's building in a lxc container.