zephyr.js
zephyr.js copied to clipboard
[timers] Output of Timers is not in order on Linux
Description
This is a regression issue. The output order of Timers.js changes each time on Linux.
Test Code
Steps to Reproduction
-
make BOARD=linux
-
./outdir/linux/release/jslinux samples/Timers.js
Actual Result
Expected Result
Test Builds
Branch | Commit Id | Target Device | Test Date | Result |
---|---|---|---|---|
master | 687af46 | Linux | Nov 8, 2017 | Fail |
master | 6d751ea | Linux | Nov 8, 2017 | Pass |
Additional Information
This regression is caused by reverting the linux timers back to old way of doing timers, since the new timers used in Zephyr is more accurate but it doesn't build for linux on Mac. So until we find a way to add async timers support on Mac, the linux timers will be inaccurate.
Marking as low priority because Linux is just a testing target, not a real use case.