Reenable tests, don't run them in parallel
This commit is contained in:
parent
be5574fc76
commit
a0233634b0
|
@ -184,11 +184,15 @@ sphinx-build -b html . build/html
|
||||||
## test the compiled code (see doc/project/testing.rst)
|
## test the compiled code (see doc/project/testing.rst)
|
||||||
# we skip tests for selected architectures which need upstream fixes
|
# we skip tests for selected architectures which need upstream fixes
|
||||||
%ifarch armv7hl aarch64 ppc64le s390x
|
%ifarch armv7hl aarch64 ppc64le s390x
|
||||||
%ctest || true
|
(cd %{_vpath_builddir} && ctest --output-on-failure || true)
|
||||||
%else
|
%else
|
||||||
## we skip the PG test (BUILD_PGPOINTCLOUD_TESTS:BOOL=OFF):
|
## we skip the PG test (BUILD_PGPOINTCLOUD_TESTS:BOOL=OFF):
|
||||||
# PGUSER=pdal PGPASSWORD=password PGHOST=localhost PGPORT=5432 ctest -V
|
# PGUSER=pdal PGPASSWORD=password PGHOST=localhost PGPORT=5432 ctest -V
|
||||||
#ctest
|
|
||||||
|
# Use plain ctest as opposed to %%ctest, which runs tests in parallel, and appears to trigger
|
||||||
|
# a race condition when running pdal_filters_overlay_test, leading to
|
||||||
|
# "Unable to open stream for '/builddir/build/BUILD/PDAL-2.2.0-src/test/data/../temp/temp.laz' with error 'No such file or directory'".
|
||||||
|
(cd %{_vpath_builddir} && ctest --output-on-failure)
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
|
Loading…
Reference in New Issue