1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-28 09:24:14 +01:00
Commit Graph

36 Commits

Author SHA1 Message Date
Cristian Maglie
9f8d19244a Removed log4j
Fix #11727
2021-12-20 12:53:48 +01:00
Matthijs Kooijman
bdfa7f305c CI: Publish HTML report of tests as an artifact
This also lets ant print a message pointing to this artifact and
explaining the files inside briefly. To make sure this is only printed
inside the github action, an extra `-D` option is passed to `ant test`
from the workflow file.

To allow `if` / `unless` on the echo element, this adds some namespace
definitions (this allows them on *any* element, not just the ones that
explicitly allow it). See https://ant.apache.org/manual/ifunless.html
2020-05-11 16:09:41 +02:00
Matthijs Kooijman
d03c08358f ant: Improve running of testsuite
This allows running an individual test class by specifying
-Dsingle-test-class=path.to.Classs and methods within the specified
class by specifying -Dsingle-test-methods=testMethod1,testMethod2.

Additionally, this improves the error output, but not showing full
stderr/stdout output when running the full test suite, and by generating
a browsable HTML report with test results (including stdout/stderr
output). When single-test-class is used, detailed output (including
stdout/stderr) is still printed directly.

This also moves the test result XML files into a subdirectory for
clarity, which is removed before starting a testrun (so the HTML report
does not include older test results).
2020-05-11 16:09:41 +02:00
Thomas L. Kjeldsen
ac6688de59 Treat JUnit errors as failures to increase visibility
Before this change `cd app; ant test` would return "BUILD SUCCESS"
even when unit tests were returning errors.
2020-01-31 16:00:04 +01:00
Mattia Bertorello
bd85fdc084
Add log4j.xml configuration 2019-07-05 11:47:36 +02:00
Cristian Maglie
b00185e63d juint tests now use the correct jna lib again 2016-11-03 15:01:36 +02:00
Federico Fissore
17032ec543 Added proxy PAC file support functions 2015-08-21 08:41:50 +02:00
Federico Fissore
110a6e20d4 MacOSX: removed old Quaqua references 2015-07-08 17:21:24 +02:00
Federico Fissore
88e8019419 Extending remote upload. Sketch merge with bootloader is done by the IDE (using "noblink" bootloader if board definition provides one). If platform provides a "remote" upload tool, that tool is used, otherwise falls back to hardcoded "run-avrdude" 2015-06-18 15:43:10 +02:00
Federico Fissore
91df9b1901 Switching to Java 8 2015-06-16 09:33:48 +02:00
Federico Fissore
96b7c5ec6b MacOSX: fixed some failing tests 2015-05-12 15:23:22 +02:00
Federico Fissore
cf1879f948 Introducing GPG signature verification when loading main package_index file 2015-05-04 12:05:50 +02:00
Federico Fissore
aac484e364 MacOSX: working directory for tests is changed 2015-03-26 09:59:40 +01:00
Federico Fissore
7adaba5630 MacOS tests fix: new way of discovering work dir conflicts with tests execution. Fixed. 2015-02-03 17:00:51 +01:00
Cristian Maglie
d1f4e0370d arduino-core project is now correctly compiled through ant build script 2014-11-13 16:34:24 +01:00
Cristian Maglie
be96ae3a6a Removed no more used 'core' project 2014-11-13 16:23:40 +01:00
Federico Fissore
82b6e6e325 macosx: removing java.additional.jvmargs property used for proper tests execution 2014-10-07 13:46:51 +02:00
Federico Fissore
c11a119996 Forgot to include .ino files as test resource 2013-10-22 17:51:54 +02:00
Federico Fissore
776952762f working on #223: Auto-detection of serial ports. Linux version ready 2013-05-06 12:31:01 +02:00
Federico Fissore
0ce79a11eb ant windows build 2013-02-20 13:33:09 +01:00
Federico Fissore
024dcf05f9 testing via ant failed (see #1288) 2013-02-20 10:56:48 +01:00
Federico Fissore
19d8e24eeb testing via ant failed (see #1288) 2013-02-20 10:28:57 +01:00
Federico Fissore
f0087ed0e7 testing via ant failed, now fixed (see #1288) 2013-02-20 10:02:17 +01:00
Federico Fissore
271a2c53d4 moved tests in a separater ant target so that they can run AFTER assets like nodejs and the compiler are unpacked and ready to be used 2013-02-19 15:26:49 +01:00
Federico Fissore
a78cbf1ef3 updated build.xml to include new jars 2013-02-19 15:26:44 +01:00
Federico Fissore
7887b54199 updated build.xml to include new jars 2013-02-19 15:26:37 +01:00
Federico Fissore
5fd56b5d91 monitoring I18N translations 2013-01-23 13:04:45 +01:00
Federico Fissore
e18d2a018d ignored test-bin folder
junit reports in xml
2012-12-04 13:43:21 +01:00
Federico Fissore
320648e67f tests now run at each build 2012-12-04 13:38:02 +01:00
Federico Fissore
527e07b26f fixed java 1.5 compatibility issue
moved unknown AutoFormat class to external folder
2012-12-04 11:54:19 +01:00
Shigeru KANEMOTO
541a7b3575 UI i18n and the Japanese text catalog.
Wrapped the every string literals with _(...) function.
The _() function resides in "app/src/processing/app/I18n.java",
which translates the UI texts using "Resources_XX.properties" file
where XX is the locale code.

I provided the properties file for the ja (Japanese) locale.
I created this file using "xgettext" and "msgcat" commands.
"i18n_update.{py,sh}" files are the tool I used to do that.

Change in "app/build.xml" is to include the properties files
in jar file.
2011-12-07 01:45:13 +09:00
David A. Mellis
a142a2564d Enabling debugging for compilation of the app. 2010-11-27 11:54:07 -06:00
David A. Mellis
fa4d058297 Reapplying Christian's regex patch.
Revert "Revert "Removed dependencies from regex library oro.jar""

This reverts commit ed7795ef8d.
2010-10-03 19:44:28 -04:00
David A. Mellis
ed7795ef8d Revert "Removed dependencies from regex library oro.jar"
This reverts commit 2b4391052c.
2010-10-02 17:19:53 +02:00
Cristian Maglie
2b4391052c Removed dependencies from regex library oro.jar 2010-10-01 19:41:36 +02:00
David A. Mellis
c4760d8ae7 Moving to ant-based build system from Processing. Mac OS X seems to work (for the moment). 2010-05-08 21:47:19 +00:00