aboutsummaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)Author
2018-11-28Add built-in support for gpb for building proto filesLoïc Hoguin
When gpb is found in DEPS or BUILD_DEPS then it is used instead of erlang_protobuffs.
2018-11-28Modernize the protobuffs pluginLoïc Hoguin
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-26Remove a non-portable "echo -n" from a testLoïc Hoguin
2018-11-26Remove some non-portable "echo -e" from a couple testsLoïc Hoguin
2018-11-26Use two colons for the shell targetLoïc Hoguin
2018-11-26Don't include applications with no ebin/ directory in escriptsLoïc Hoguin
2018-11-26Add or improve tests based on false flag reportsLoïc Hoguin
2018-11-26Fix propagation of SP in sub-appsLoïc Hoguin
And some refactor and additional testing for overriding. Turns out we can override some variables even if ?= is not used, so nothing had to be done to support overriding.
2018-11-26Fix badly written tests failing when LEGACY=1Loïc Hoguin
2018-11-26Disable Asciidoc tests requiring DocBook if not installedLoïc Hoguin
The toolchain is too heavy for CI. Gotta wait for me to finish the work on Asciideck for building HTML pages.
2018-11-26Disable sphinx tests when it isn't installedLoïc Hoguin
2018-11-26Tweak a few tests so they run on all platformsLoïc Hoguin
2018-11-26Add test for autopatch with two Rebar projectsLoï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-25Fix a shell test when run in parallelLoïc Hoguin
2018-11-25Build $(PROJECT).d in a separate $(MAKE) callLoïc Hoguin
This avoids the issue where clean will remove a file that was otherwise generated and won't be regenerated. This might also help with parallel building.
2018-11-24Test case for yecc, switching between test mode and normal modeHugo Mills
With a yecc grammar in the project, and this sequence of commands: $ make clean $ make check $ make $ make the "make check" succeeds. The first "make" fails because the .erl file built from the .yrl file doesn't exist. The second "make" succeeds. Add a test case for this situation. Signed-off-by: Hugo Mills <[email protected]>
2018-11-24Add the git-subfolder fetch methodLoïc Hoguin
It clones and checkouts like the git fetch method, but does so in the Erlang.mk temporary directory. It then creates a symbolic link to the subfolder for the dependency.
2018-11-24Fix a test that used invalid application namesLoïc Hoguin
2018-11-24Move apps tests in their own file and fix a test caseLoïc Hoguin
2018-11-24Disallow uppercase characters in application namesLoïc Hoguin
2018-11-24Error out on dash characters during bootstrapLoïc Hoguin
2018-11-24Don't try to create a nif if n wasn't providedLoïc Hoguin
2018-11-24Update the OTP-REG.mib file download locationLoïc Hoguin
2018-11-24Improve ct/eunit testsLoïc Hoguin
Also don't run eunit if there's no src/test directory.
2018-11-23Ensure apps eunit tests only run once when called directlyLoïc Hoguin
2018-11-23Add eunit test with apps where one include_lib anotherRoger Lipscombe
2018-11-23Ensure apps have APPS_DIR and DEPS_DIR definedLoïc Hoguin
So they can use include files and other from other apps when they're built directly, and that they use the same deps directory.
2018-11-23Remove an unnecessary test messageLoïc Hoguin
2018-11-22Add relx-post-rel hookOleg Nemanov
This hook can be used, for example, to copy additional files to release before it is tared by relx.
2018-07-05Swallow warnings when creating a PLTKrzysztof Jurewicz
2018-05-31Add $(TEST_DIR) to the default value of SHELL_PATHSKrzysztof Jurewicz
2018-05-14Replace the imagejs test with lz4Loïc Hoguin
2018-05-14Make some of the new tests more quietLoïc Hoguin
2018-05-14Don't list test cases manually anymoreLoïc Hoguin
2018-05-14Small tweaks to previous PRLoïc Hoguin
2018-05-14Add test with include loopStanislav Ovchar
2018-05-14Add tests include_lib tests for depsStanislav Ovchar
2018-05-14Add tests when .hrl files are in srcStanislav Ovchar
2018-05-14Add core-app-hlr test to verify recursive inculde_lib between appsStanislav Ovchar
2018-05-14Add core-app-hlr test to verify inlude_lib between appsStanislav Ovchar
2018-05-14Add core-app simple test for hlr with -include_libStanislav Ovchar
2018-05-14Add the test directory in the list of paths for properLoïc Hoguin
2018-05-14Don't run cover when there's no ebin files in the directoryLoïc Hoguin
2018-05-14list templates on seperate linesMads Flensted-Urech
2018-05-14Fix use of templates from plugins in apps layoutLoïc Hoguin
2018-04-25Add gen_statem templatejuhlig
[skip ci]
2018-03-14Create temporary directory when generating relxKrzysztof Jurewicz