| Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
The regex that parses the version contained quotation
marks, which caused the matching to fail.
Also split separate this parsing from the `is_dev_version` fn to
its own fn, and refactor it to make the parsed substrings named
variables.
|
|
|
|
|
|
This commit enables the usage of the dist/ directory, and also adds
mullvad-version to it so that test-by-version.sh can operate without
rust installed at all.
To make use of predefined binaries in a separate directory, refer to
that directory by using the env var TEST_DIST_DIR=<dir path> and the
binaries will be used if they can be found there. If TEST_DIST_DIR is
specified, all of the following binaries need to be there:
- connection-checker
- mullvad-version
- test-manager
- test-runner
Also added a /dev/null redirect of a cd output so that one's able to use
CDPATH while running the tests.
|
|
|
|
|
|
|
|
Split functionality `ci-runtest.sh` into multiple scripts.
`test-by-version.sh` can be used to test against any version
of the app available on the build servers. `test-utils.sh` contains
shared logic.
Rename `PACKAGES_DIR` env `PACKAGE_DIR`,
it's more consistent with the new CLI flag.
|