1*4882a593Smuzhiyun#!/bin/sh 2*4882a593Smuzhiyun 3*4882a593Smuzhiyun# Upstream "fast" tests take about 5 minutes and currently do not run cleanly 4*4882a593Smuzhiyun# (tests/cover and tests/pytest) 5*4882a593Smuzhiyun# https://github.com/HypothesisWorks/hypothesis/tree/master/hypothesis-python/tests 6*4882a593Smuzhiyun# https://github.com/HypothesisWorks/hypothesis/blob/master/hypothesis-python/scripts/basic-test.sh#L18 7*4882a593Smuzhiyun# 8*4882a593Smuzhiyun# Instead we run two test suites imported from examples/ 9*4882a593Smuzhiyun 10*4882a593Smuzhiyunpytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}' 11