From c8083a6767c8916f7c9d98e620c21fbd35ded99e Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Tue, 7 Nov 2017 20:28:32 +0100 Subject: [PATCH 1/2] tests/thread_basic: rename python testrunner script --- tests/thread_basic/Makefile | 2 +- tests/thread_basic/tests/{test_thread.py => 01-run.py} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename tests/thread_basic/tests/{test_thread.py => 01-run.py} (100%) diff --git a/tests/thread_basic/Makefile b/tests/thread_basic/Makefile index fb1a878b58..88bff49dbd 100644 --- a/tests/thread_basic/Makefile +++ b/tests/thread_basic/Makefile @@ -8,4 +8,4 @@ DISABLE_MODULE += auto_init include $(RIOTBASE)/Makefile.include test: - ./tests/test_thread.py + ./tests/01-run.py diff --git a/tests/thread_basic/tests/test_thread.py b/tests/thread_basic/tests/01-run.py similarity index 100% rename from tests/thread_basic/tests/test_thread.py rename to tests/thread_basic/tests/01-run.py From a23288fbdd3ec312776cdb1a9bf3819a7e7f3d8f Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Tue, 7 Nov 2017 20:29:41 +0100 Subject: [PATCH 2/2] test/thread_basic: fix pep8 in testrunner script --- tests/thread_basic/tests/01-run.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/thread_basic/tests/01-run.py b/tests/thread_basic/tests/01-run.py index ec24410758..5a7f5034b5 100755 --- a/tests/thread_basic/tests/01-run.py +++ b/tests/thread_basic/tests/01-run.py @@ -12,6 +12,7 @@ import sys sys.path.append(os.path.join(os.environ['RIOTBASE'], 'dist/tools/testrunner')) import testrunner + def testfunc(child): child.expect('first thread\r\n') child.expect('second thread\r\n')