- Jan 11, 2022
-
-
Ariel D'Alessandro authored
gitlab-rulez package is now required to run import-debian-package tests. Let's test this script on apertis, as it provides the package. Signed-off-by:
Ariel D'Alessandro <ariel.dalessandro@collabora.com>
-
- Dec 15, 2021
-
-
Walter Lozano authored
With the new application framework, the application bundle is now implemented using Flatpak, so drop this functionality from ADE. Keep the sysroot management functionality as well as the possibility of compile standard applications like dash. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
-
- Oct 29, 2021
-
-
Frederic Danis authored
Import GitLabCI tests from `infrastructure/packaging-tools`. Signed-off-by:
Frédéric Danis <frederic.danis@collabora.com>
-
- Jul 18, 2019
-
-
Frederic Danis authored
Signed-off-by:
Frédéric Danis <frederic.danis@collabora.com>
-
Frederic Danis authored
If username and password are not passed on command line, nor in url, try to find them from .netrc file. Signed-off-by:
Frédéric Danis <frederic.danis@collabora.com>
-
- Jul 17, 2019
-
-
Frederic Danis authored
urllib does not support to set the username and password in the URL. The URL needs to be parsed to extract them before calling urlopen or urlretrieve. The username and password found in the URL are used unless they are already set on command line. Signed-off-by:
Frédéric Danis <frederic.danis@collabora.com>
-
- Apr 04, 2019
-
-
Emanuele Aina authored
At the moment `ade` enforces a NN.NN versioning schema for sysroot with N strictly being a digit. Now that we switched to release versions like v2019dev0, v2019pre, v2019.0 this is no longer appropriate. Signed-off-by:
Emanuele Aina <emanuele.aina@collabora.com>
-
- Jun 29, 2018
-
-
Ritesh Raj Sarraf authored
The test-export script tests the `ade export` command. It creates an install target in moc/Makefile.in and uses it to simulate ade's export command, which further bundles the installed files The script then unpacks the created bundle and verified the sample file that was bundled through `ade export` Currently, we do it the crude way to extract the file from the bundle because ostree/flatpak doesn't have a cleaner implementation For details, see: https://github.com/flatpak/flatpak/issues/126 Signed-off-by:
Ritesh Raj Sarraf <ritesh.sarraf@collabora.com> Reviewed-by:
Frédéric Dalleau <frederic.dalleau@collabora.com> Differential Revision: https://phabricator.apertis.org/D7914
-
- Mar 30, 2017
-
-
Frédéric Dalleau authored
The current test infrastruture only exercises "ade sysroot". This test add support to exercise "ade configure" using a mock project implementation that lures "ade configure" as if a real project was being configured. This is done because the test sysroots do not have real autotools. Apertis: https://phabricator.apertis.org/T3777 Signed-off-by:
Frédéric Dalleau <frederic.dalleau@collabora.com> Reviewed-by:
Emanuele Aina <emanuele.aina@collabora.com> Differential Revision: https://phabricator.apertis.org/D6413
-
Frédéric Dalleau authored
Create this dummy project to exercise ade configure and build. autogen.sh and configure are mocking the real scripts behavior. It is also possible to build from a build directory. Apertis: https://phabricator.apertis.org/T3777 Signed-off-by:
Frédéric Dalleau <frederic.dalleau@collabora.com> Reviewed-by:
Emanuele Aina <emanuele.aina@collabora.com> Differential Revision: https://phabricator.apertis.org/D6411
-
Frédéric Dalleau authored
The sysroot tag parser was not tested and a regression occured To catch future regressions make use for ade info and check that the expected sysroot info can be read during tests. Add support for --path to the ade info subcommand parser work in temporary test directory. Apertis: https://phabricator.apertis.org/T3777 Signed-off-by:
Frédéric Dalleau <frederic.dalleau@collabora.com> Reviewed-by:
Emanuele Aina <emanuele.aina@collabora.com> Differential Revision: https://phabricator.apertis.org/D6390
-
Frédéric Dalleau authored
Currently test_util.py can only test 'ade sysroot'. Additionnaly it uses about 3 different python syntaxes for parameters. *args is used for the majority of parameters, path and config are passed as **kwargs. Finally command, is a positionnal argument. In order for ade functions other than sysroot can thus be tested, simplify run_cmd api so that in only take (*args) wth direct arguments. This means changing all the should_succeed and should_fail calls so that they no longer assume 'sysroot' is the command to be tested. Apertis: https://phabricator.apertis.org/T3777 Signed-off-by:
Frédéric Dalleau <frederic.dalleau@collabora.com> Reviewed-by:
Emanuele Aina <emanuele.aina@collabora.com> Differential Revision: https://phabricator.apertis.org/D6410
-
- Mar 17, 2017
-
-
Sjoerd Simons authored
Signed-off-by:
Sjoerd Simons <sjoerd.simons@collabora.co.uk> Reviewed-by:
Frédéric Dalleau <frederic.dalleau@collabora.com> Differential Revision: https://phabricator.apertis.org/D6265
-
- Dec 13, 2016
-
-
Sjoerd Simons authored
The parent makefile will recursively call all submakefiles for various targets among which install. So this makefile needs to handle that even if it doesn't do anything Signed-off-by:
Sjoerd Simons <sjoerd.simons@collabora.co.uk> Reviewed-by:
Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> Differential Revision: https://phabricator.apertis.org/D5249
-
- Dec 12, 2016
-
-
Louis-Francis Ratté-Boulianne authored
New --user and --password options for latest, download, install and update subcommands. Signed-off-by:
Louis-Francis Ratté-Boulianne <lfrb@collabora.com> Reviewed-by:
Justin Kim <justin.kim@collabora.com> Differential Revision: https://phabricator.apertis.org/D4920
-
Louis-Francis Ratté-Boulianne authored
Signed-off-by:
Louis-Francis Ratté-Boulianne <lfrb@collabora.com> Reviewed-by:
Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> Differential Revision: https://phabricator.apertis.org/D5208
-
Louis-Francis Ratté-Boulianne authored
It returns the remote URL from where the sysroot can be downloaded so that application integrating the tool can use their own download manager. Signed-off-by:
Louis-Francis Ratté-Boulianne <lfrb@collabora.com> Reviewed-by:
Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> Differential Revision: https://phabricator.apertis.org/D5207
-
Sjoerd Simons authored
Hardcoding the port to let the test server listen on is can be problematic in case the build hosts happens to have something on that port (e.g. another daemon or build running at the same time). Instead let the kernel pick a free port for us. Apart from that, this changes all configuration files to be templated, with HOST expected to be updated with the actual address/port picked. For explicit configuration files there is a new context manager which will provide a temporary config file with the right information while the sysroot http server will setup a temporary directory to serve files from (with all files updates with correct url information as well). Signed-off-by:
Sjoerd Simons <sjoerd.simons@collabora.co.uk> Reviewed-by:
Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> Differential Revision: https://phabricator.apertis.org/D5243
-
- Dec 09, 2016
-
-
Guillaume Desmottes authored
Should ensure that tests can still be run even if the previous one hasn't properly relased the port yet. Signed-off-by:
Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> Reviewed-by:
Sjoerd Simons <sjoerd.simons@collabora.co.uk> Differential Revision: https://phabricator.apertis.org/D5220
-
Louis-Francis Ratté-Boulianne authored
* There is one test file for each individual sysroot subcommands. * The /tmp directory is used when an installation directory is needed. * Tests are not installed for now and need the 'ade' executable to be in the 'tools' directory. Signed-off-by:
Louis-Francis Ratté-Boulianne <lfrb@collabora.com> Reviewed-by:
Sjoerd Simons <sjoerd.simons@collabora.co.uk> Differential Revision: https://phabricator.apertis.org/D4815
-