aboutsummaryrefslogtreecommitdiffstats
path: root/test/Makefile
AgeCommit message (Collapse)Author
2016-01-09Remove legacy EDoc testsLoïc Hoguin
2015-12-29Add Common Test docs and testsLoïc Hoguin
Also fixes issues with multi application repositories, and add support for running a specific group/case in a given test suite.
2015-12-24Simplify cleaning in the test suiteLoïc Hoguin
Not only simpler but also faster, especially on Windows.
2015-12-24Add EUnit tests and documentationLoïc Hoguin
Also includes a fix for multi-application repositories.
2015-12-18Exclude rabbitmq_codegen from the package checkLoïc Hoguin
This isn't an Erlang application.
2015-12-17Remove the patch for i18n in the test suiteLoïc Hoguin
After careful checking, these values are not set because of an issue in Erlang.mk's autopatch feature. There's no point in cheating in the test suite. We need to know about it.
2015-12-17Add package i18n to the indexLoïc Hoguin
2015-12-15Make some rm -rf commands saferLoïc Hoguin
This way if for some unknown reason $(APP_TO_CLEAN) isn't defined, we don't delete the entire world.
2015-11-22Remove the Rabbit patches from the test suiteLoïc Hoguin
They're not needed on master anymore.
2015-11-20Merge branch 'set-x-on-verbose-2' of https://github.com/rabbitmq/erlang.mkLoïc Hoguin
2015-11-17V=2 causes `set -x` to be set on forked shellsJean-Sébastien Pédron
2015-10-22Replace "if $(MAKE) then false" by "! $(MAKE)"Jean-Sébastien Pédron
2015-10-20Rename couch package into opencouchLoïc Hoguin
Per request: https://github.com/ninenines/erlang.mk/issues/300 This commit also fixes issues with packages which have a different name than the application name.
2015-10-12Rework package testingLoïc Hoguin
Better error reporting and can now build everything in parallel. Failed builds are kept; others are deleted. The following command builds everything and then gives a diff of what got fixed/broken since last time ("> " is newly broken, "< " is newly fixed). make packages -j 32 -k; make summary
2015-09-29Improve a few comments and messagesLoïc Hoguin
2015-09-27Improve tests' platform detectionLoïc Hoguin
Fixes a small warning printed on OSX, and don't run a specific test on FreeBSD (compiles a C library not compatible with FreeBSD).
2015-09-26Make tests work on more systemsLoïc Hoguin
Some systems do not have subsecond file modification detection capabilities. This is the case in OSX because the HFS+ file system has 1 second resolution. This is also the case in other OSes with particular file systems or even shells. For example, the "test" command in Bash does not support subsecond file times, while the ZSH one and the /usr/bin/test on my machine does. On those systems, with Bash, find -newer will work, but not test -nt. Tests were updated to reflect this. The test Makefile runs a series of commands to determine if subsecond resolution is available. When it is not, a sleep command will be executed before relevant operations in the tests. Because the Bash shell is often the default shell for Make, and because users of ZSH may want to avoid sleeping for no reasons, a new variable was introduced: ZSH=1. When provided when running tests, the shell will be switched to ZSH, and subsecond resolution will work as expected. Tests have been fixed to work with ZSH as well. All this only applies to tests, Erlang.mk itself is so far not affected by this issue.
2015-09-14Make relx work on Windows/MSYS2Loïc Hoguin
2015-09-14Remove "Success!" message from test suiteLoïc Hoguin
2015-09-11add distclean-tmpderwinlu
Removes $(ERLANG_MK_TMP) directory on distclean. * add distclean-tmp target * add core-clean-tmp test
2015-09-11Delete test/erl_crash.dump on cleaning testsLoïc Hoguin
2015-09-10Add missing phony targets in the test MakefileLoïc Hoguin
2015-09-10Remove todos that shouldn't be thereLoïc Hoguin
Sigh. That's what I get for rushing before food.
2015-09-10Add a test for the deleting of crash dumpsLoïc Hoguin
2015-09-10Remove an extraneous target dependencyLoïc Hoguin
2015-09-10Reorganize the test suiteLoïc Hoguin
Use one file per topic, except for "uncategorizable" tests.
2015-09-09Alphabetical order upgrade testsLoïc Hoguin
2015-09-09Move the test for help in its own categoryLoïc Hoguin
2015-09-09Merge branch 'fix-no-erlang-app-support' of ↵Loïc Hoguin
https://github.com/rabbitmq/erlang.mk
2015-09-09Fix CI againLoïc Hoguin
2015-09-09Use the remote erlang.mk repository in testsLoïc Hoguin
Otherwise CI won't work.
2015-09-09erlc.mk: Fix "no Erlang application" supportJean-Sébastien Pédron
2015-09-09Merge branch 'no-hardcoded-make-in-testsuite' of ↵Loïc Hoguin
https://github.com/rabbitmq/erlang.mk
2015-09-09core.mk: Allow to take erlang.mk from an alternate Git repositoryJean-Sébastien Pédron
2015-09-09test/Makefile: Use $(MAKE) instead of hardcoding `make`Jean-Sébastien Pédron
2015-09-08Add a test for 'make help'Loïc Hoguin
2015-09-07test/Makefile: Support non-GNU sedJean-Sébastien Pédron
This required two changes: 1. Modifying a file inplace using -i is not portable. GNU sed does not require an argument; the absence of it meaning it should change the file inplace. sed found on FreeBSD and probably other BSDs' require an argument, so inplace modification should be specified as: sed -i ''. Obviously, both -i are incompatible... The "solution" is to specify a backup suffix and ignore this backup file. 2. The [1addr]i command takes its argument on the next line according to the standard (though, it's not explicitely stated, the syntax example suggests that). GNU sed accepts to have its argument on the same line as the command, but not FreeBSD's sed.
2015-09-07Add an unrelated .hrl file in asn1 and mib testsLoïc Hoguin
Useful to confirm only the relevant header files get deleted on clean.
2015-09-07Add a test ensuring compilation errors are detectedLoïc Hoguin
Since all the legacy 'app' tests can be found in the new format, the 'app' target has been removed.
2015-09-06Add NO_MAKEDEP: don't rebuild .d file if it already existsLoïc Hoguin
This is useful only for projects that are stable and rarely need to rebuild it. Check the guide additions for more info.
2015-09-06Use a different method to build the generate ruleLoïc Hoguin
This one seems to work both here and on CI.
2015-09-06Fix escaping of backslashLoïc Hoguin
Was working fine for me, not on CI.
2015-09-06Add tests for user generated Erlang source filesLoïc Hoguin
2015-09-05Add a test for .yrl files that include headersLoïc Hoguin
2015-09-05Add tests for yrl filesLoïc Hoguin
2015-09-05Add tests for a .xrl file that includes .hrl filesLoïc Hoguin
This also has a case for a file included from another header file, which is pretty cool! Thanks Gordon Guthrie for pointing me out to the file. :-)
2015-09-04Add test for xrl filesLoïc Hoguin
2015-09-04Simplify one check in mibs testLoïc Hoguin
2015-09-04Add tests for mibsLoïc Hoguin
2015-09-04Add test for recursive header dependency trackingLoïc Hoguin