aboutsummaryrefslogtreecommitdiffstats
path: root/test/Makefile
AgeCommit message (Collapse)Author
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
2015-09-04Add test for header dependency trackingLoïc Hoguin
2015-09-03test: Add missing clean target dependencyLoïc Hoguin
2015-09-03Add a test for building .asn1 filesLoïc Hoguin
2015-09-03Add a test for ERLANG_MK_BUILD_DIRLoïc Hoguin
2015-09-03Improve upgrade testLoïc Hoguin
2015-09-03Add tests for upgrading Erlang.mkLoïc Hoguin
2015-09-03Add tests for the bootstrap pluginLoïc Hoguin
Adding tests in the order they are documented in the guide.
2015-08-14Update edown in test MakefileLoïc Hoguin
2015-08-14Fix test Makefile on some platformsLoïc Hoguin
2015-07-02No need to use virtualenv to test RabbitMQ projects anymoreLoïc Hoguin
2015-07-02Reduce dependency on external programsLoïc Hoguin
This commit implements a core_find and core_ls function that can be used to list files recursively or not. A few other minute changes are included and a couple hacks removed.
2015-06-28Bundle the package index directly inside erlang.mkLoïc Hoguin
If you were using the index file as a "lock file", bear with me for a moment, equivalent functionality will soon be added. :-)
2015-06-20Fix amqp_client/rabbit tests for FreeBSDLoïc Hoguin
2015-06-18Add RABBITMQ_SERVER_PATCH for rabbitmq-server supportLoïc Hoguin