From 9da940736b82208dcd6c1624a415d6f1c4e6d106 Mon Sep 17 00:00:00 2001 From: smlng Date: Fri, 26 Jan 2018 11:09:11 +0100 Subject: [PATCH 1/2] tests: use python3 for tests scripts --- tests/lwip/tests/01-run.py | 2 +- tests/xtimer_usleep/tests/01-run.py | 2 +- tests/xtimer_usleep_short/tests/01-run.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/lwip/tests/01-run.py b/tests/lwip/tests/01-run.py index 652455ccff..6c7f62c8da 100755 --- a/tests/lwip/tests/01-run.py +++ b/tests/lwip/tests/01-run.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # -*- coding: utf-8 -*- # vim:fenc=utf-8 # diff --git a/tests/xtimer_usleep/tests/01-run.py b/tests/xtimer_usleep/tests/01-run.py index 74ba91d31d..1cc3f17577 100755 --- a/tests/xtimer_usleep/tests/01-run.py +++ b/tests/xtimer_usleep/tests/01-run.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # vim:fenc=utf-8 diff --git a/tests/xtimer_usleep_short/tests/01-run.py b/tests/xtimer_usleep_short/tests/01-run.py index 815c166e0d..d242289512 100755 --- a/tests/xtimer_usleep_short/tests/01-run.py +++ b/tests/xtimer_usleep_short/tests/01-run.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (C) 2017 Michel Rottleuthner # From d57f32225e5b435b057f9bf515a0a2ed375fb175 Mon Sep 17 00:00:00 2001 From: smlng Date: Fri, 26 Jan 2018 11:10:14 +0100 Subject: [PATCH 2/2] tests: remove obsolete clearing of TERMFLAGS --- tests/thread_msg_block_w_queue/Makefile | 4 +--- tests/thread_msg_block_wo_queue/Makefile | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/tests/thread_msg_block_w_queue/Makefile b/tests/thread_msg_block_w_queue/Makefile index fbc64266e3..59ff51cb57 100644 --- a/tests/thread_msg_block_w_queue/Makefile +++ b/tests/thread_msg_block_w_queue/Makefile @@ -7,6 +7,4 @@ DISABLE_MODULE += auto_init include $(RIOTBASE)/Makefile.include test: -# `testrunner` calls `make term` recursively, results in duplicated `TERMFLAGS`. -# So clears `TERMFLAGS` before run. - TERMFLAGS= tests/01-run.py + tests/01-run.py diff --git a/tests/thread_msg_block_wo_queue/Makefile b/tests/thread_msg_block_wo_queue/Makefile index fbc64266e3..59ff51cb57 100644 --- a/tests/thread_msg_block_wo_queue/Makefile +++ b/tests/thread_msg_block_wo_queue/Makefile @@ -7,6 +7,4 @@ DISABLE_MODULE += auto_init include $(RIOTBASE)/Makefile.include test: -# `testrunner` calls `make term` recursively, results in duplicated `TERMFLAGS`. -# So clears `TERMFLAGS` before run. - TERMFLAGS= tests/01-run.py + tests/01-run.py