aboutsummaryrefslogtreecommitdiffstats
path: root/test/Makefile
AgeCommit message (Collapse)Author
2023-05-15Cleaned up dep cache tests, added hex test and fixed a bugLoïc Hoguin
2023-05-15Allow git + hex deps to be cached to XDG_CACHE_HOMETyler Hughes
2023-05-12Add testing of building packages from hex.pmLoïc Hoguin
2023-05-05Add ELIXIR_PATCH=1 when testing building packagesLoïc Hoguin
2023-05-05Tests: exclude pmod_transform from .app/load checksLoïc Hoguin
This is not a proper OTP application.
2023-05-05Deps: Add a project-specific patch for hutLoïc Hoguin
Hut has both a Makefile and erlang.mk but the default target does not build the project. To fix a few packages we have a special patch HUT_PATCH that will call the appropriate target.
2023-05-05Autopatch: Move to Rebar3Loïc Hoguin
2023-05-05Ignore plugins from package checksLoïc Hoguin
2023-05-04Remove rabbit/amqp_client packages and patchesLoïc Hoguin
We expect users to fetch these projects from hex.pm now and the packages no longer worked.
2020-11-30Try do detect if we need to sleep in tests between a build and when aMartin Björklund
source file is modified. Without a sleep the source file and the target may get the same modification time, on some machines.
2020-11-30Add support for publishing Hex releases and docsLoïc Hoguin
2020-04-13Add plugin esh.mk to the index/documentationcrownedgrouse
2019-10-09Use no_dot_erlang instead of start_cleanLoïc Hoguin
2019-06-28Try to make relx-start-stop more reliableLoïc Hoguin
Using new wait_for_success/wait_for_failure functions that will loop the ping commands up to 10 times then give up. This allows us to remove the "sleep 1" and lets us handle intermittent slowness at the same time.
2018-12-07Autopatch: allow configuring REBAR_GIT and REBAR_COMMITLoïc Hoguin
And use this in the tests to fetch Rebar only once and then clone from the local repository. This should speed up tests a little.
2018-12-03Don't rebuild dependencies by defaultLoïc Hoguin
Unless it's a symbolic link, it's built directly, FULL=1 is set or the file ebin/dep_built in the dependency is removed. See the documentation changes for more details. This provides immense build speed gains, for example on a RabbitMQ project it went from 10s to 1s for the 2nd+ builds.
2018-11-30Add autopatch for LFE projectsLoïc Hoguin
Currently experimental. It'll enable lfe.mk when it encounters the rebar3 plugin lfe-compile. Tested against some small library. Note that it adds lfe as a build dependency with no version given so the latest master will be fetched right now. This can be overriden in the parent project.
2018-05-14Don't list test cases manually anymoreLoïc Hoguin
2017-11-17Don't try to load ci.erlang.mk when testing packagesLoïc Hoguin
[ci skip]
2017-05-15Add tweaks and tests for the WITHOUT featureLoïc Hoguin
2017-05-13Convert legacy cover tests and fix a few issuesLoïc Hoguin
There are no more legacy tests. Enjoy!
2016-10-21Update Copyright notices2016.10.21Loïc Hoguin
2016-04-03Use branches for all packagesLoïc Hoguin
This is a first step toward semi-automated version management. Cowboy, Cowlib and Ranch still use tags for the time being. We can make a better update to those when there's a lock feature added.
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