Skip to content

Commit

Permalink
drop check CWD before and after each test
Browse files Browse the repository at this point in the history
  • Loading branch information
arvoelke committed Apr 26, 2019
1 parent 22962fb commit 683384e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/hardware.sh.template
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
pip install -e .[tests]
pip install $NENGO_VERSION --upgrade
pip install ~/travis-ci/nxsdk-0.8.0.tar.gz
SLURM=1 pytest --target loihi --no-hang -v --durations 50 --color=yes -n 1 --cov=nengo_loihi --cov-report=xml --cov-report=term-missing || HW_STATUS=1
SLURM=1 pytest --log-cli-level info --target loihi --no-hang -v --durations 50 --color=yes --cov=nengo_loihi --cov-report=xml --cov-report=term-missing || HW_STATUS=1
exit \$HW_STATUS
EOF
{% endblock %}
Expand Down
6 changes: 6 additions & 0 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ def pytest_runtest_setup(item):
# pragma: no cover, in case we don't have any tests marked "hang" atm
pytest.xfail("This test causes Loihi to hang indefinitely")

logging.getLogger().info(os.getcwd())


def pytest_runtest_teardown(item, nextitem):
logging.getLogger().info(os.getcwd())


@pytest.fixture(scope="session")
def Simulator(request):
Expand Down

0 comments on commit 683384e

Please sign in to comment.