File: test-pyarrow

package info (click to toggle)
apache-arrow 23.0.1-9
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 76,056 kB
  • sloc: cpp: 654,608; python: 70,522; ruby: 45,964; ansic: 18,742; sh: 7,371; makefile: 635; javascript: 125; xml: 41
file content (20 lines) | stat: -rwxr-xr-x 459 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

set -e

export PARQUET_TEST_DATA=/usr/share/apache/parquet-testing/data
export ARROW_TEST_DATA=/usr/share/apache/arrow-testing

EXTRA_ARGS=""

# i386: SIGSEGV in native code kills the whole pytest session; --forked isolates it.
if [ "$(dpkg --print-architecture)" = "i386" ]; then
    EXTRA_ARGS="--forked"
fi

for py in $(py3versions -d)
do
  cd "$AUTOPKGTEST_TMP"
  echo "Testing with $py:"
  $py -m pytest -v --pyargs pyarrow $EXTRA_ARGS
done