Build issue causes make -j check to fail, and occasionally make check

Description

I see this error when I try parallel builds or sometimes when I'm doing sequential builds, but the build system gets confused somehow:

{{make[4]: Entering directory '/home/ed/libdap4/unit-tests'
g++ -DHAVE_CONFIG_H -I. -I.. -I../GNU -I.. -I../tests -I/usr/include/x86_64-linux-gnu -I/usr/include/libxml2 -I/usr/local/include -Wall -W -Wcast-align -g -O2 -MT marshT.o -MD -MP -MF .deps/marshT.Tpo -c -o marshT.o marshT.cc
mv -f .deps/marshT.Tpo .deps/marshT.Po
make[4]: *** No rule to make target '../tests/libtest-types.a', needed by 'marshT'. Stop.
make[4]: Leaving directory '/home/ed/libdap4/unit-tests'
Makefile:2707: recipe for target 'check-am' failed
make[3]: *** [check-am] Error 2
make[3]: Leaving directory '/home/ed/libdap4/unit-tests'
Makefile:2045: recipe for target 'check-recursive' failed
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory '/home/ed/libdap4/unit-tests'
Makefile:2458: recipe for target 'check-recursive' failed
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory '/home/ed/libdap4'
Makefile:2753: recipe for target 'check' failed
make: *** [check] Error 2}}

Environment

None

Status

Assignee

Edward

Reporter

Edward

Labels

None

Story Points

None

Components

Priority

Medium
Configure