From 21cce35120064681b58920939d66f580f26b4fa6 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Mon, 12 May 2014 20:23:37 +0300 Subject: [PATCH] test.support: Add trivial module to support basic running of CPython tests. --- test.support/metadata.txt | 3 +++ test.support/test/support.py | 5 +++++ 2 files changed, 8 insertions(+) create mode 100644 test.support/metadata.txt create mode 100644 test.support/test/support.py diff --git a/test.support/metadata.txt b/test.support/metadata.txt new file mode 100644 index 00000000..30a1d954 --- /dev/null +++ b/test.support/metadata.txt @@ -0,0 +1,3 @@ +srctype=micropython-lib +type=package +version=0.0.1 diff --git a/test.support/test/support.py b/test.support/test/support.py new file mode 100644 index 00000000..81bbfc0e --- /dev/null +++ b/test.support/test/support.py @@ -0,0 +1,5 @@ +import unittest + +def run_unittest(*classes): + for c in classes: + unittest.run_class(c)