aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/ct.mk
AgeCommit message (Collapse)Author
2018-11-27Remove some unnecessary -pa argumentsLoïc Hoguin
They're already in ERL_LIBS.
2018-11-27Fix jobserver unavailable warningsLoïc Hoguin
When the $(MAKE) is inside an $(eval $(call ...)) then it needs to be escaped as $$(MAKE). When the $(MAKE) is inside a $(call ...) then I did not figure out a way other than passing it as an argument. When the $(MAKE) is inside many levels of $(call $(call ...)) it's easier to avoid it if at all possible, so I replaced the rebar $(MAKE) call with ./bootstrap. I confirmed it works fine on Windows as well.
2018-11-26Allow running test cases without groups in CTLoïc Hoguin
2018-11-25Build issues testing multi-apps projectsLoïc Hoguin
I've reworked how the multi-apps projects are built. In particular I've made sure the test build is made from the top-level once, and then only tests are run on this build. It used to build multiple times and some builds would not include test mode, not good. I've also fixed issues with running tests in parallel. All tests now pass with -j8 on my machine. It's possible more issues remain that are not covered by tests yet though.
2018-11-23Allow keeping the CT logs on distcleanLoïc Hoguin
This is useful for CI scenarios.
2017-05-12Fix the test merged in the previous commitLoïc Hoguin
2016-11-26Add CT_LOGS_DIRnevar
2016-10-30Use := instead of = for list of filesLoïc Hoguin
This will make sure we don't look twice. Also make a single call to find the common file formats rather than many calls.
2016-10-21Update Copyright notices2016.10.21Loïc Hoguin
2016-02-08Fix ct for multi-app repositoriesderwinlu
* Include $(APPS_DIR)/*/ebin in CT_RUN * test-build before ct-apps * Test that my_lib is accessible from my-app ct
2016-01-22Allow running apps/ ct test suites in parallelLoïc Hoguin
I'm mostly trying to fix tests when ran in parallel, although this is also a nice optimization for those who use multi-app repositories.
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-07-04Add $(verbose) to avoid completely silencing commandsLoï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-05-08Fully specify the ct pathsLoïc Hoguin
Avoids some annoying warnings when Common Test runs. I believe this is a regression.
2015-01-12Update copyright yearLoïc Hoguin
Also added a copyright line in the eunit plugin due to the extensive work I have done there a few days ago.
2015-01-10Introduce test builds and unify testing tools interfaceLoïc Hoguin
The general idea is that erlang.mk now keeps track of what kind of build it generated. A test build is valid for all subsequent test target invocations. A normal build is only valid for itself and releases. This rework adds the ability to specify deps to eunit. The EUNIT_DIR variable is gone in favor of a more global TEST_DIR. The tests-ct target got renamed to ct and documented. Many more minor changes were done during the course of testing these changes.
2015-01-08Make ct_run use -noinput instead of -noshellLoïc Hoguin
2014-10-15Add -I include/ to build-ct-suites targetAlexander Færøy
2014-07-29Only autodetect if we have a test directory.Sedrik
2014-07-25Fix a wrong target nameLoïc Hoguin
2014-07-24Autodetect CT SUITESSedrik
2014-06-06move CT_OPTS so that -erl_args works as expected when running testsChristian Briones
2014-05-28Cut erlang.mk into many small componentsLoïc Hoguin
* The build.config says what gets into the generated erlang.mk. * The default erlang.mk in the repository hasn't changed yet. * Clean targets were separated into "clean" and "distclean". * The "help" target was added to display some help message. I probably broke a couple things...