diff options
| author | Paul Sokolovsky | 2015-08-30 11:36:42 +0300 |
|---|---|---|
| committer | Paul Sokolovsky | 2015-08-30 11:36:42 +0300 |
| commit | a3fe30740035ef78d1107b6d55d1092b9502873d (patch) | |
| tree | 9cbe5132df48a68697b2fb143ca6c806fa6248a1 /tests/feature_check | |
| parent | 1a1b48e51a49bfcd2e16ed5d764567bb2e5aa753 (diff) | |
tests: Consolidate all feature check snippets under feature_check/.
Diffstat (limited to 'tests/feature_check')
| -rw-r--r-- | tests/feature_check/byteorder.py | 2 | ||||
| -rw-r--r-- | tests/feature_check/byteorder.py.exp | 0 | ||||
| -rw-r--r-- | tests/feature_check/native_check.py | 4 | ||||
| -rw-r--r-- | tests/feature_check/native_check.py.exp | 0 | ||||
| -rw-r--r-- | tests/feature_check/repl_emacs_check.py | 3 | ||||
| -rw-r--r-- | tests/feature_check/repl_emacs_check.py.exp | 6 |
6 files changed, 15 insertions, 0 deletions
diff --git a/tests/feature_check/byteorder.py b/tests/feature_check/byteorder.py new file mode 100644 index 000000000..d60f93956 --- /dev/null +++ b/tests/feature_check/byteorder.py @@ -0,0 +1,2 @@ +import sys +print(sys.byteorder) diff --git a/tests/feature_check/byteorder.py.exp b/tests/feature_check/byteorder.py.exp new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/tests/feature_check/byteorder.py.exp diff --git a/tests/feature_check/native_check.py b/tests/feature_check/native_check.py new file mode 100644 index 000000000..3971d1355 --- /dev/null +++ b/tests/feature_check/native_check.py @@ -0,0 +1,4 @@ +# this test for the availability of native emitter +@micropython.native +def f(): + pass diff --git a/tests/feature_check/native_check.py.exp b/tests/feature_check/native_check.py.exp new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/tests/feature_check/native_check.py.exp diff --git a/tests/feature_check/repl_emacs_check.py b/tests/feature_check/repl_emacs_check.py new file mode 100644 index 000000000..320971622 --- /dev/null +++ b/tests/feature_check/repl_emacs_check.py @@ -0,0 +1,3 @@ +# Check for emacs keys in REPL +t = +11 +t == 2 diff --git a/tests/feature_check/repl_emacs_check.py.exp b/tests/feature_check/repl_emacs_check.py.exp new file mode 100644 index 000000000..d3834429b --- /dev/null +++ b/tests/feature_check/repl_emacs_check.py.exp @@ -0,0 +1,6 @@ +Micro Python \.\+ version +>>> # Check for emacs keys in REPL +>>> t = \.\+ +>>> t == 2 +True +>>> |
