Skip to content

Commit

Permalink
Generalize a test to avoid problems in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimebuelta committed Jan 23, 2017
1 parent 6634c69 commit c9d933f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/module.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ Setup

$ . $TESTDIR/setup.sh

Run test
Run test, grep to reduce the output and standarize over different executions

$ $PYTHON $TESTDIR/../ffind/ffind.py --module "trace --trace {}" sTest2
$ $PYTHON $TESTDIR/../ffind/ffind.py --module "trace --trace {}" sTest2 | grep sTest2
--- modulename: sTest2, funcname: <module>
sTest2.py(1): print("sTest2")
sTest2
--- modulename: trace, funcname: _unsettrace
trace.py(*): sys.settrace(None) (glob)

0 comments on commit c9d933f

Please sign in to comment.