aboutsummaryrefslogtreecommitdiffstats
path: root/test/core_deps.mk
AgeCommit message (Collapse)Author
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-24Add a test for DEPS_DIRLoïc Hoguin
2015-09-24Add tests for IGNORE_DEPSLoïc Hoguin
Fix IGNORE_DEPS not being propagated downward. Fix IGNORE_DEPS handling with autopatched Rebar projects, where the user defined value was overriden with the one from autopatching.
2015-09-24Add tests for dependency fetching orderLoïc Hoguin
2015-09-24Add tests for custom, fail (bad and unknown) and legacy fetch methodsLoïc Hoguin
Also improves the handling of the legacy fetch method. It is now enabled only for dependencies, and not for the top-level application. This should force Erlang.mk users to update their definitions.
2015-09-24Add test for the hex fetch methodLoïc Hoguin
2015-09-24Add test for the cp fetch methodLoïc Hoguin
2015-09-23Add tests for git, hg, svn fetch methodsLoïc Hoguin
Renamed dep-full to fetch-git to avoid having duplicate tests.
2015-09-23Add a test for dep_$(DEP) variablesLoïc Hoguin
2015-09-23Implement, add test for dep_$(DEP)_commit variablesLoïc Hoguin
2015-09-22Add tests for TEST_DEPSLoïc Hoguin
2015-09-22Add a test for SHELL_DEPSLoïc Hoguin
2015-09-22Disable last check of core-deps-rel under WindowsLoïc Hoguin
Releases are barely usable on Windows at this point, so this will get revisited later on when I have time to improve the extended start script. Currently it requires root rights, and it doesn't have useful commands like rpcterms.
2015-09-22Add REL_DEPS along with its testLoïc Hoguin
2015-09-22Add test for OTP_DEPSLoïc Hoguin
2015-09-21Add a test for DOC_DEPSLoïc Hoguin
2015-09-21Add a test for a JS build dependencyLoïc Hoguin
2015-09-21Use cowlib instead of rebar for core-deps-build-erlLoïc Hoguin
Ran into weird Rebar issues on Windows, I will probably run into those issues again later on, but this test isn't about that.
2015-09-21Add a test for an Erlang build dependencyLoïc Hoguin
2015-09-21Add a second C build dependencyLoïc Hoguin
This one is for testing on Windows. It's simple enough to compile and run without having to deal with installing too many dependencies.
2015-09-21Add a test where the build dependency is a C compilerLoïc Hoguin
2015-09-21Fix core-deps-pkg test with LEGACY=1Loïc Hoguin
2015-09-21Add the first few tests for dependenciesLoïc Hoguin