File: control

package info (click to toggle)
pybind11 2.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,936 kB
  • sloc: cpp: 13,894; python: 7,865; ansic: 2,489; makefile: 204; sh: 36
file content (51 lines) | stat: -rw-r--r-- 1,382 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Test-Command: set -e
 ; cp debian/tests/example/* "$AUTOPKGTEST_TMP"
 ; for py in $(py3versions -r 2>/dev/null)
 ; do cd "$AUTOPKGTEST_TMP"
 ; echo "Testing with $py:"
 ; CC=gcc CXX=g++ cmake -DPYTHON_EXECUTABLE=/usr/bin/$py .
 ; cmake --build .
 ; $py -c "import example; assert(example.add(1, 2) == 3)"
 ; done
Depends: cmake, g++, pybind11-dev, python3-all-dev
Restrictions: allow-stderr

Test-Command: set -e
 ; cp debian/tests/example/* "$AUTOPKGTEST_TMP"
 ; for py in $(py3versions -r 2>/dev/null)
 ; do cd "$AUTOPKGTEST_TMP"
 ; echo "Testing with $py:"
 ; CC=clang CXX=clang++ cmake -DPYTHON_EXECUTABLE=/usr/bin/$py .
 ; cmake --build .
 ; $py -c "import example; assert(example.add(1, 2) == 3)"
 ; done
Depends: clang, cmake, pybind11-dev, python3-all-dev
Restrictions: allow-stderr

Test-Command: set -e
 ; for py in $(py3versions -r 2>/dev/null)
 ; do cd "$AUTOPKGTEST_TMP"
 ; echo "Testing with $py:"
 ; $py -m pybind11 --includes
 ; done
Depends: python3-all, python3-pybind11

Test-Command: set -e
 ; SRCDIR=$PWD
 ; for py in $(py3versions -rv 2>/dev/null)
 ; do cp -r tests ${AUTOPKGTEST_TMP}/tests-python$py
 ; cd ${AUTOPKGTEST_TMP}/tests-python$py
 ; cmake -DPYVERSION=$py .
 ; make
 ; python$py -m pytest
 ; cd $SRCDIR
 ; done
Depends: python3-all-dev,
 python3-pybind11,
 python3-pytest,
 python3-numpy,
 python3-scipy,
 cmake,
 g++,
 libboost-dev,
 libeigen3-dev