mirror of
https://github.com/YosysHQ/sby.git
synced 2025-04-22 04:46:37 +00:00
Organize tests into subdirectories and use a new makefile that scans .sby files and allows selecting tests by mode, engine, solver and/or subdirectory. Automatically skips tests that use engines/solvers that are not found in the PATH. See `cd tests; make help` for a description of supported make targets.
4 lines
185 B
Bash
4 lines
185 B
Bash
#!/bin/bash
|
|
set -e
|
|
! python3 $SBY_MAIN -f $SBY_FILE $TASK
|
|
grep '<failure type="EXPECT" message="Task returned status PASS. Expected values were: FAIL TIMEOUT" />' $WORKDIR/$WORKDIR.xml
|