summaryrefslogtreecommitdiffhomepage
path: root/test/scripts/test-utils.sh
AgeCommit message (Collapse)AuthorFilesLines
2025-02-25Rename some scripts (and move them to subdirectories)Markus Pettersson1-358/+0
Start off with the download app package / e2e tests binary in `download.sh`. Rename `test-utils.sh` to `lib.sh` & start to break up `lib.sh`.
2025-01-22Format scriptsSebastian Holmin1-68/+68
2024-11-18Add MULLVAD_HOST setting to test-by-version.shDavid Lönnhager1-0/+7
2024-10-22Match parsing of version tag in test frameworkSebastian Holmin1-1/+2
2024-10-22Fix parsing of build tagSebastian Holmin1-14/+19
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.
2024-10-02Remove architecture suffix on Windows x64 installerOskar1-1/+1
2024-09-04Add `OPENVPN_CERTIFICATE` argument to `test-by-version`Markus Pettersson1-0/+1
2024-08-16Remove cargo dependency when running e2e testsMagnus Lindstrom1-10/+41
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.
2024-08-16Fix bug if `TEST_PACKAGE` doesn't existSebastian Holmin1-1/+1
2024-08-15Fix word splitting of `TEST_FILTERS` env varSebastian Holmin1-1/+2
2024-08-15Add support for Windows ARM64Daniel Paoliello1-1/+1
2024-08-09Restructure test scriptsSebastian Holmin1-0/+312
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.