-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pull in changes from upstream #1
base: master
Are you sure you want to change the base?
Commits on May 1, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 522448f - Browse repository at this point
Copy the full SHA 522448fView commit details -
Configuration menu - View commit details
-
Copy full SHA for cfb703f - Browse repository at this point
Copy the full SHA cfb703fView commit details
Commits on May 2, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 996ebc4 - Browse repository at this point
Copy the full SHA 996ebc4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e728f4 - Browse repository at this point
Copy the full SHA 0e728f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5b167b - Browse repository at this point
Copy the full SHA b5b167bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b456cb - Browse repository at this point
Copy the full SHA 3b456cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3aa4c95 - Browse repository at this point
Copy the full SHA 3aa4c95View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea9caf5 - Browse repository at this point
Copy the full SHA ea9caf5View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9d350d - Browse repository at this point
Copy the full SHA b9d350dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ab6777 - Browse repository at this point
Copy the full SHA 1ab6777View commit details -
Configuration menu - View commit details
-
Copy full SHA for edf0c20 - Browse repository at this point
Copy the full SHA edf0c20View commit details
Commits on May 3, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 14d8a57 - Browse repository at this point
Copy the full SHA 14d8a57View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa4a791 - Browse repository at this point
Copy the full SHA fa4a791View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8211a0a - Browse repository at this point
Copy the full SHA 8211a0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e72096f - Browse repository at this point
Copy the full SHA e72096fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0993f9a - Browse repository at this point
Copy the full SHA 0993f9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b7b6f1 - Browse repository at this point
Copy the full SHA 1b7b6f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for b873410 - Browse repository at this point
Copy the full SHA b873410View commit details -
Configuration menu - View commit details
-
Copy full SHA for a965d42 - Browse repository at this point
Copy the full SHA a965d42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 906c98b - Browse repository at this point
Copy the full SHA 906c98bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 31fb892 - Browse repository at this point
Copy the full SHA 31fb892View commit details
Commits on May 4, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 07a1218 - Browse repository at this point
Copy the full SHA 07a1218View commit details
Commits on May 6, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 25797be - Browse repository at this point
Copy the full SHA 25797beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 82384d6 - Browse repository at this point
Copy the full SHA 82384d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9c9abb - Browse repository at this point
Copy the full SHA b9c9abbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 92579d3 - Browse repository at this point
Copy the full SHA 92579d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3616ecb - Browse repository at this point
Copy the full SHA 3616ecbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 66d79cd - Browse repository at this point
Copy the full SHA 66d79cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e12acc - Browse repository at this point
Copy the full SHA 7e12accView commit details -
Configuration menu - View commit details
-
Copy full SHA for 00737e4 - Browse repository at this point
Copy the full SHA 00737e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5fd9ce - Browse repository at this point
Copy the full SHA c5fd9ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 486ce6d - Browse repository at this point
Copy the full SHA 486ce6dView commit details
Commits on May 7, 2018
-
Configuration menu - View commit details
-
Copy full SHA for eecfe80 - Browse repository at this point
Copy the full SHA eecfe80View commit details
Commits on May 11, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 18f218d - Browse repository at this point
Copy the full SHA 18f218dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 41e134c - Browse repository at this point
Copy the full SHA 41e134cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ca3aa7 - Browse repository at this point
Copy the full SHA 3ca3aa7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a1b88e - Browse repository at this point
Copy the full SHA 4a1b88eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a66593a - Browse repository at this point
Copy the full SHA a66593aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2dff44a - Browse repository at this point
Copy the full SHA 2dff44aView commit details -
Configuration menu - View commit details
-
Copy full SHA for fbcf127 - Browse repository at this point
Copy the full SHA fbcf127View commit details -
Configuration menu - View commit details
-
Copy full SHA for e192ecd - Browse repository at this point
Copy the full SHA e192ecdView commit details
Commits on May 14, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 907b2c0 - Browse repository at this point
Copy the full SHA 907b2c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64cf0af - Browse repository at this point
Copy the full SHA 64cf0afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b7fb36 - Browse repository at this point
Copy the full SHA 6b7fb36View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd98350 - Browse repository at this point
Copy the full SHA cd98350View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ca5162 - Browse repository at this point
Copy the full SHA 2ca5162View commit details -
Configuration menu - View commit details
-
Copy full SHA for 21687fe - Browse repository at this point
Copy the full SHA 21687feView commit details
Commits on May 17, 2018
-
Put mergeable progmem strings in a separate section
The `ARDUINO_UNIT_PSTR` macro puts strings in the .progmem.data section, and set the S (contains zero terminated strings) and M (mergeable) attributes. Unlike the normal PROGMEM/PSTR macros, which do not set these attributes, this allows for merging of duplicate or partly overlapping strings. However, when the regular PROGMEM attribute is also used, this will put other variables into the same .progmem.data section, but without these attributes. The compiler complains about this: /tmp/cco2ytva.s: Assembler messages: /tmp/cco2ytva.s:2658: Warning: ignoring changed section attributes for .progmem.data This seems harmless, but effectively causes the SM attributes to be applied to all progmem data, making the linker believe that all progmem data consists of mergeable zero-terminated strings, which can cause problems. For example, when progmem contains any variables with embedded zeroes, these variables will be truncated at the first embedded zero (but the code accessing these variables is unchanged, so these will access data from the next variable instead). For example, the `port_to_output_PGM` variable for the Arduino mega (variants/mega/pins_arduino.h) is one such variable, which contains embedded zeroes and is put into progmem. The following sketch can reproduce this problem: #include <ArduinoUnit.h> void setup() { assertTrue(true); digitalWrite(0, LOW); } void loop() { } After compiling this sketch for the Arduino Mega2560, the generated symbol table looks like this: $ avr-objdump -t sketch.elf --demangle|sort|grep port_to_output_PGM -A 1 00000156 l O .text 0000001a port_to_output_PGM 0000015d l O .text 00000056 digital_pin_to_port_PGM As you can see, the port_to_output_PGM is 0x1a bytes long and should take space up to 0x156+0x1a = 0x170, but the next variable starts at 0x15d already. It seems that for other boards, such as the Arduino Uno, these variables do not contain any embedded zeroes (only leading zeroes, which apparently are not a problem), so the problem does not surface there. To fix this, this commit changes the section name used by the `ARDUINO_UNIT_PSTR` macro to `.progmem.mergeable-strings`, so the section attribute only affects these particular strings, and not other progmem data. The linker scripts used by avr-libc use a wildcard `*(.progmem*)` to include progmem symbols, so any sections starting with `.progmem` are included in the link (checked in avr-libc 1:1.8.0+Atmel3.5.0-1 from Debian that all linker scripts that reference progmem use the wildcard).
Configuration menu - View commit details
-
Copy full SHA for ce10afb - Browse repository at this point
Copy the full SHA ce10afbView commit details -
Fix indentation after previous commit
This fixes the indentation of the inline assembly, which is messed up by the previous commit. This is a separate commit, to separate the code change from the indentation-only changes.
Configuration menu - View commit details
-
Copy full SHA for 11517ec - Browse repository at this point
Copy the full SHA 11517ecView commit details -
Merge pull request #81 from matthijskooijman/fix-progmem
Put mergeable progmem strings in a separate section
Configuration menu - View commit details
-
Copy full SHA for 2f1bee9 - Browse repository at this point
Copy the full SHA 2f1bee9View commit details
Commits on Jun 11, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 0d9a648 - Browse repository at this point
Copy the full SHA 0d9a648View commit details -
Configuration menu - View commit details
-
Copy full SHA for 218fbd1 - Browse repository at this point
Copy the full SHA 218fbd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for daa6cc3 - Browse repository at this point
Copy the full SHA daa6cc3View commit details
Commits on Jul 17, 2018
-
Use correct field separator in keywords.txt
The Arduino IDE requires the use of a single true tab separator between the keyword name and identifier. When spaces are used rather than a true tab the keyword is not highlighted. Reference: https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keywords
Configuration menu - View commit details
-
Copy full SHA for 0af78db - Browse repository at this point
Copy the full SHA 0af78dbView commit details -
Merge pull request #84 from per1234/keywords-separator
Use correct field separator in keywords.txt
Configuration menu - View commit details
-
Copy full SHA for 5d16d57 - Browse repository at this point
Copy the full SHA 5d16d57View commit details
Commits on Feb 17, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 117e71a - Browse repository at this point
Copy the full SHA 117e71aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0001840 - Browse repository at this point
Copy the full SHA 0001840View commit details -
Configuration menu - View commit details
-
Copy full SHA for e840009 - Browse repository at this point
Copy the full SHA e840009View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15749d5 - Browse repository at this point
Copy the full SHA 15749d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1dd70aa - Browse repository at this point
Copy the full SHA 1dd70aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a3409a - Browse repository at this point
Copy the full SHA 8a3409aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7995635 - Browse repository at this point
Copy the full SHA 7995635View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44b3fe6 - Browse repository at this point
Copy the full SHA 44b3fe6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59bf279 - Browse repository at this point
Copy the full SHA 59bf279View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce23585 - Browse repository at this point
Copy the full SHA ce23585View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93086a7 - Browse repository at this point
Copy the full SHA 93086a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2230a5a - Browse repository at this point
Copy the full SHA 2230a5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for bfc15a9 - Browse repository at this point
Copy the full SHA bfc15a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7476ba7 - Browse repository at this point
Copy the full SHA 7476ba7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ab8191 - Browse repository at this point
Copy the full SHA 6ab8191View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4f7a65 - Browse repository at this point
Copy the full SHA e4f7a65View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ad93a1 - Browse repository at this point
Copy the full SHA 4ad93a1View commit details
Commits on Mar 17, 2019
-
Fix for TEENSYDUINO not having the protected String::concat(const cha…
…r *, unsigned int); it has String::append instead.
Configuration menu - View commit details
-
Copy full SHA for e0710c7 - Browse repository at this point
Copy the full SHA e0710c7View commit details
Commits on Mar 21, 2019
-
Merge pull request #88 from ssilverman/master
Fix for 3.0.2 not able to compile for Teensy
Configuration menu - View commit details
-
Copy full SHA for 5431e99 - Browse repository at this point
Copy the full SHA 5431e99View commit details
Commits on Sep 8, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 306e0b5 - Browse repository at this point
Copy the full SHA 306e0b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b9060c - Browse repository at this point
Copy the full SHA 6b9060cView commit details
Commits on Sep 9, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 7266d16 - Browse repository at this point
Copy the full SHA 7266d16View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60840b8 - Browse repository at this point
Copy the full SHA 60840b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for dbcfa8c - Browse repository at this point
Copy the full SHA dbcfa8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9dbd3ce - Browse repository at this point
Copy the full SHA 9dbd3ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2453376 - Browse repository at this point
Copy the full SHA 2453376View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e8095f - Browse repository at this point
Copy the full SHA 7e8095fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b687ea4 - Browse repository at this point
Copy the full SHA b687ea4View commit details
Commits on Jan 30, 2021
-
Fix incorrect merging of PROGMEM strings
This fixes the ARDUINO_UNIT_PSTR macro to not reference the wrong string. In particular, this makes failing macros not output "passed" instead of "failed". The same problem was seemingly the subject of commit 60840b8 (not all skipped.). That commit fixed the problem for test status by not using the ARDUINO_UNIT_PSTR macro, and seems to contain a half fix for ARDUINO_UNIT_PSTR using __COUNTER__, but the way it was used, __COUNTER__ was never actually expanded, so that did not help (also, it tried to apply __COUNTER__ in the wrong place). The actual problem *seems* to be that the `0:` label used to reference the string constant is not actually unique. It should not need to be, since the `0b` reference should just reference the nearest label 0, going backwards, but I suspect that gcc ends up reordering asm blocks and thus messes up the reference. Using a unique (but still numerical so local) label seems to fix this. See e.g. this thread about reordering of asm blocks: https://gcc.gnu.org/legacy-ml/gcc-help/2017-10/msg00061.html So, this commit reverts the __COUNTER__ bit from that commit, just using the plain `ptr` name again (which does not need to be unique, since it is local the the __extension__ block). It also reverts the changes around the test status, so these now use ARDUINO_UNIT_STRING again as originally. Then, it applies a two-layer macro wrapper for ARDUINO_UNIT_PSTR, that ensures that __COUNTER__ is actually expanded before being used (which is needed when using a macro as part of a stringification or concatenation) and ensures that __COUNTER__ is only expanded once, with one value, rather than with different values in all three places. Finally, this commit uses this expanded counter value to generate unique labels, which seems to prevent this problem from occuring.
Configuration menu - View commit details
-
Copy full SHA for 72da542 - Browse repository at this point
Copy the full SHA 72da542View commit details
Commits on Nov 13, 2022
-
Merge pull request #91 from matthijskooijman/progmem-string-merging
Fix incorrect merging of PROGMEM strings
Configuration menu - View commit details
-
Copy full SHA for 1e67169 - Browse repository at this point
Copy the full SHA 1e67169View commit details
Commits on Apr 7, 2023
-
Introduce a new "done" list of tests
When a test is completed (including failed and skipped), it was already removed from the "root" list but it is now added to the "done" list.
Configuration menu - View commit details
-
Copy full SHA for bf4effc - Browse repository at this point
Copy the full SHA bf4effcView commit details -
Increment count in constructor instead of insert()
This allows reusing insert() later to move tests from the done list back into the active list, without affecting the count.
Configuration menu - View commit details
-
Copy full SHA for 9b1ce8b - Browse repository at this point
Copy the full SHA 9b1ce8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 63108e8 - Browse repository at this point
Copy the full SHA 63108e8View commit details -
This simply calls Test::run() until all tests are done.
Configuration menu - View commit details
-
Copy full SHA for 9b14493 - Browse repository at this point
Copy the full SHA 9b14493View commit details -
Configuration menu - View commit details
-
Copy full SHA for c96d03d - Browse repository at this point
Copy the full SHA c96d03dView commit details
Commits on May 10, 2023
-
Merge pull request #85 from matthijskooijman/multiple-runs
Allow running tests multiple times
Configuration menu - View commit details
-
Copy full SHA for 9157b89 - Browse repository at this point
Copy the full SHA 9157b89View commit details
Commits on May 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e9dacf4 - Browse repository at this point
Copy the full SHA e9dacf4View commit details
Commits on May 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6e7e6dd - Browse repository at this point
Copy the full SHA 6e7e6ddView commit details