| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-04-03 | py: Implement closures in native code generator. | Damien George | |
| Currently supports only x64 and Thumb2 archs. | |||
| 2015-03-25 | tests: Skip some new tests when testing native emitter. | Damien George | |
| 2015-03-20 | tests: Make cmdline tests more stable by using regex for matching. | Damien George | |
| 2015-03-13 | tests: Add ability to test uPy cmdline executable. | Damien George | |
| This allows to test options passed to cmdline executable, as well as the behaviour of the REPL. | |||
| 2015-03-03 | tests: Skip basics/boundmeth1.py for native emitter. | Damien George | |
| 2015-02-02 | tests: Disable float/cmath_fun.py for native emitter. | Damien George | |
| 2015-01-21 | py: Implement proper re-raising in native codegen's finally handler. | Damien George | |
| This allows an exception to propagate correctly through a finally handler. | |||
| 2015-01-07 | py: Temporary fix for conversion of float to int when fits in small int. | Damien George | |
| Addresses issue #1044 (see also #1040). Could do with a better fix. | |||
| 2014-12-31 | tests: Disable float/float2int.py on pyboard (needs double prec). | Damien George | |
| 2014-12-20 | run-tests: Allow to run testuite against Windows build on Linux (using Wine). | Paul Sokolovsky | |
| Just adjust line-endings of micropython.exe output, the rest should be handled by Wine (automagically on properly configured distro). To run: MICROPY_MICROPYTHON=../windows/micropython.exe ./run-tests | |||
| 2014-12-20 | windows: Correctly interpret skipped tests, enable uhashlib and ubinascii | stijn | |
| 2014-12-13 | run-tests: Skip native/viper tests based on prefix. | Paul Sokolovsky | |
| Otherwise, new tests are forgotten to be added to explicit lists. Issue found running on Debian/ARM. | |||
| 2014-12-12 | run-tests: Reset MICROPYPATH, to make sure tests use only builtin modules. | Paul Sokolovsky | |
| 2014-12-12 | run-tests: PEP8 fix. | Paul Sokolovsky | |
| 2014-12-11 | tests: Disable print_exception test when using native emitter. | Damien George | |
| 2014-12-11 | tests: Fix print_exception test and re-enable it on Travis CI. | Damien George | |
| Issue was with uPy: on local machine with micropython-lib installed, io module is available. Not the case on Travis CI, where only _io module is available in uPy. | |||
| 2014-12-11 | run-tests: Skip print_exception.py on TravisCI, as it irreproducibly fails. | Paul Sokolovsky | |
| TODO: Figure out what's wrong on Travis. | |||
| 2014-11-19 | Set PYTHONIOENCODING='utf-8' so that unicode tests can pass on CPython on | blmorris | |
| systems where another encoding is set in the locale | |||
| 2014-10-05 | tests: Add check for micropython.native and then skip relevant tests. | Damien George | |
| If micropython.native decorator doesn't compile, then we skill all native/viper tests. This patch also re-enables the ujson_loads test on NT. Addresses issue #861, and partially addresses issue #856. | |||
| 2014-10-05 | Exclude some tests which always fail on windows | stijn | |
| 2014-10-01 | Enable device keyword option when running pyboard.py --tests and run-tests ↵ | blmorris | |
| --pyboard | |||
| 2014-09-23 | py: Make native emitter handle multi-compare and not/is not/not in ops. | Damien George | |
| 2014-09-23 | tests: Fix uctypes tests to run on 64bit arch; enable more native tests. | Damien George | |
| 2014-09-17 | py: Add native json printing using existing print framework. | Damien George | |
| Also add start of ujson module with dumps implemented. Enabled in unix and stmhal ports. Test passes on both. | |||
| 2014-09-13 | py: Implement divmod, % and proper // for floating point. | Damien George | |
| Tested and working on unix and pyboard. | |||
| 2014-09-06 | tests: Enable misc tests on pyboard; output 4 sig figs in rge_sm. | Damien George | |
| 2014-09-06 | unix: Don't use -Wno-error=cpp or #warning; fix strict alias warning. | Damien George | |
| For the sake of older versions of gcc (and other compilers), don't use the #warning CPP directive, nor the -Wno-error=cpp option. Also, fix a strict alias warning in modffi.c for older compilers, and add a test for ffi module. Addresses issue #847. | |||
| 2014-08-29 | tests: Add option to run-tests to enable native emitter. | Damien George | |
| 2014-07-19 | py: Add stream reading of n unicode chars; unicode support by default. | Damien George | |
| With unicode enabled, this patch allows reading a fixed number of characters from text-mode streams; eg file.read(5) will read 5 unicode chars, which can made of more than 5 bytes. For an ASCII stream (ie no chars > 127) it only needs to do 1 read. If there are lots of non-ASCII chars in a stream, then it needs multiple reads of the underlying object. Adds a new test for this case. Enables unicode support by default on unix and stmhal ports. | |||
| 2014-07-12 | run-tests: Add option to write CPython's test results to .exp files. | Paul Sokolovsky | |
| Mostly to run testsuite on targets which doesn't have CPython. | |||
| 2014-06-28 | tests: Write output in byte mode, not text mode. | Damien George | |
| This enables testing unicode and non-unicode implementations. | |||
| 2014-06-08 | tests: Run 'micropython' tests on pyboard. | Damien George | |
| 2014-06-06 | Turn the Travis CI test skipping mechanism into something more generic | Chris Angelico | |
| 2014-06-06 | Figure out the test_name before using it (significant only to Travis skips) | Chris Angelico | |
| 2014-05-31 | tests: Change --test_dirs to --test-dirs. | Damien George | |
| 2014-05-28 | tests: Add argument to allow specifying which directories to test | stijn | |
| 2014-05-11 | tests: Fix handling of newlines from expected output files | stijn | |
| 2014-05-10 | run-tests: Add support for skipping tests. | Paul Sokolovsky | |
| MicrpPython test should print single "SKIP" line for test to be skipped. | |||
| 2014-05-08 | py, compiler: Add basic support for A=const(123). | Damien George | |
| You can now do: X = const(123) Y = const(456 + X) and the compiler will replace X and Y with their values. See discussion in issue #266 and issue #573. | |||
| 2014-05-07 | tests: Add a test for native code on pyboard. | Damien George | |
| 2014-05-07 | tests: Add inline assembler test for pyboard. | Damien George | |
| 2014-05-03 | tests: Add a suite of tests specifically for the pyboard. | Damien George | |
| In tests/pyb is now a suite of tests that tests the pyb module on the pyboard. They include expected output files because we can't run CPython on the pyboard to compare against. run-tests script has now been updated to allow pyboard tests to be run. Just pass the option --pyboard. This runs all basic, float and pyb tests. Note that float/math-fun.py currently fails because not all math functions are implemented in stmhal/. | |||
| 2014-04-17 | Merge pull request #504 from lurch/patch-4 | Damien George | |
| Allow the uPy used by run-tests to be overridden | |||
| 2014-04-17 | tests: Split out those tests requiring float and import. | Damien George | |
| Tests in basics (which should probably be renamed to core) should not rely on float, or import any non-built-in files. This way these tests can be run when those features are not available. All test in basics now pass on the pyboard using stmhal port, except for string-repr which has some issues with character hex printing. | |||
| 2014-04-17 | Changed the envvar name to MICROPY_MICROPYTHON | Andrew Scheller | |
| As discussed in #504 | |||
| 2014-04-16 | Stupid typo | Andrew Scheller | |
| 2014-04-16 | Allow the uPy used by run-tests to be overridden | Andrew Scheller | |
| with MICROPY_MP_PY envvar, in an analogous way to MICROPY_CPYTHON3 envvar. (the reason for this will be made clearer by a later PR) | |||
| 2014-04-16 | run-tests can now skip certain tests when run under Travis CI | Andrew Scheller | |
| See the `skip_travis_tests` variable. Fixes #495 (also tidied up usage of os.path.basename() function) | |||
| 2014-04-15 | travis: Diff output, hopefully this works. | Damien George | |
| 2014-04-15 | travis: More tests debugging. | Damien George | |
