GP Orcullo <kinsamanka@gmail.com> [Fri, 28 Oct 2022 14:58:25 +0800] rev 3757
fix dynamic module loading
GP Orcullo <kinsamanka@gmail.com> [Fri, 28 Oct 2022 14:56:07 +0800] rev 3756
fix ctypes encoding
GP Orcullo <kinsamanka@gmail.com> [Fri, 28 Oct 2022 14:53:23 +0800] rev 3755
fix string encoding
GP Orcullo <kinsamanka@gmail.com> [Fri, 28 Oct 2022 14:26:17 +0800] rev 3754
updated click api
GP Orcullo <kinsamanka@gmail.com> [Fri, 28 Oct 2022 15:56:01 +0800] rev 3753
remove six.reraise
GP Orcullo <kinsamanka@gmail.com> [Fri, 28 Oct 2022 14:07:13 +0800] rev 3752
removed Python2 modules
GP Orcullo <kinsamanka@gmail.com> [Fri, 28 Oct 2022 13:06:52 +0800] rev 3751
fixed plcopen imports
GP Orcullo <kinsamanka@gmail.com> [Fri, 28 Oct 2022 12:39:15 +0800] rev 3750
automated conversion using 2to3-3.9 tool
cmd used: 2to3-3.9 -w <file>
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 27 Mar 2023 10:19:14 +0200] rev 3749
Tests: Add preliminary IEC-61131 language test, to be continued.
Test sets BEREMIZ_TEST_CYCLES in order to speed-up TON duration test.
Edouard Tisserant <edouard.tisserant@gmail.com> [Mon, 27 Mar 2023 10:12:20 +0200] rev 3748
Tests: Add time emulation feature for tests with BEREMIZ_TEST_CYCLES CFLAG.
Adding BEREMIZ_TEST_CYCLES=1000 in a project's CFLAGS will:
- run 1000 cycles with no pause
- emulate time flowing normaly for PLC code
- exit PLC thread
This allows:
- testing standard library blocks that deal with time without having to wait
- unit testing and code coverage with POUs that uses time