File: python3-tests

package info (click to toggle)
python-absl 2.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,416 kB
  • sloc: python: 18,900; sh: 60; makefile: 13
file content (11 lines) | stat: -rw-r--r-- 267 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

set -euo pipefail

cp -a smoke_tests $AUTOPKGTEST_TMP
cd $AUTOPKGTEST_TMP

for p in $(py3versions -s); do
    "${p}" smoke_tests/sample_app.py --echo smoke 2>&1 |grep 'echo is smoke.'
    "${p}" smoke_tests/sample_test.py 2>&1 | grep 'msg_for_test'
done