From 8a33db6022e56b3a94033695fe5c2da3b476a7e2 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 12 Jun 2020 12:15:09 +0200 Subject: devtest: Make Python tests their own type of devtest Like the example test, the Python-based test is now codified. The "special sauce" for Python tests revolves around the fact that they require the Python API, so we have to gracefully fail if the Python API was never enabled, but hard-fail when the Python API is enabled, but not working. This creates a new type of devtest (UHDPythonTestCase) and moves uhd_python_api_test over to the new type. --- host/tests/devtest/gpio_test.py | 1 - 1 file changed, 1 deletion(-) (limited to 'host/tests/devtest/gpio_test.py') diff --git a/host/tests/devtest/gpio_test.py b/host/tests/devtest/gpio_test.py index 4681d69ce..31a6d5e1d 100755 --- a/host/tests/devtest/gpio_test.py +++ b/host/tests/devtest/gpio_test.py @@ -37,4 +37,3 @@ class gpio_test(uhd_example_test_case): print(app.stderr) self.report_example_results(test_name, run_results) return run_results - -- cgit v1.2.3