File: test-combblas

package info (click to toggle)
combblas 1.6.2-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 38,680 kB
  • sloc: cpp: 39,720; ansic: 13,590; makefile: 98; python: 13; sh: 12
file content (25 lines) | stat: -rw-r--r-- 690 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
export OMPI_MCA_plm_rsh_agent=/bin/false
export OMPI_MCA_rmaps_base_oversubscribe=1

# create ctest control scripts
mkdir build
(cd build; CC=mpicc CXX=mpicxx cmake -Wno-dev ..)

# tests use TESTDATA in the dir above them
tar xzf debian/testdata_combblas*.tgz -C ReleaseTests/

# build tests against system installation of combblas
cd ReleaseTests
patch <../debian/tests/ReleaseTests_CMakeLists.txt.patch
mkdir tmp_tests
cd tmp_tests
CC=mpicc CXX=mpicxx cmake -Wno-dev ..
make

# put ctest control script into place
cp ../../build/ReleaseTests/CTestTestfile.cmake .
mv ../../build/ReleaseTests ../../build/ReleaseTests_upper
ln -s $PWD ../../build/ReleaseTests

# run tests
ctest --verbose