File: run-unit-test

package info (click to toggle)
ray 2.3.1-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,008 kB
  • sloc: cpp: 49,973; sh: 339; makefile: 281; python: 168
file content (23 lines) | stat: -rw-r--r-- 621 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh -e
export OMPI_MCA_plm_rsh_agent=/bin/false
export OMPI_MCA_rmaps_base_oversubscribe=1

pkg=ray

if [ "$AUTOPKGTEST_TMP" = "" ] ; then
  AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
  trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM
fi

cd $AUTOPKGTEST_TMP

cp -a /usr/share/doc/${pkg}/test_data/* .
gunzip -r *

Ray -k 31 -p ecoli_1K_1.fq ecoli_1K_2.fq -o test1

Ray -k 31 -detect-sequence-files SampleDirectory -o test2

Ray -k 29 -desable-recycling -p SampleDirectory/s_6.first1000_1.fastq SampleDirectory/s_6.first1000_2.fastq

mpiexec -n 2 Ray -k 31 -p ecoli_1K_1.fq ecoli_1K_2.fq -o test3