Skip to content

Commit 6d3f565

Browse files
committed
run "make test-deps" for securedrop workstation
After all xvfb is necessary because we're now running the tests in the root console as a fix for [1]. Instead of adding yet another dependency directly in OpenQA, this now just installs whichever dependencies are specified in the workstation repo via the "test-deps" make target. [1]: freedomofpress/securedrop-workstation#1414
1 parent 4392e8a commit 6d3f565

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/securedrop/test_dom0.pm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ sub run {
3030

3131
my $sdw_path = "/home/user/securedrop-workstation";
3232

33-
# Setup testing requirements and run tests
34-
assert_script_run('rpm -q python3-pytest || sudo qubes-dom0-update -y python3-pytest', timeout => 300);
35-
assert_script_run('rpm -q python3-pytest-cov || sudo qubes-dom0-update -y python3-pytest-cov', timeout => 300);
3633
script_run('ln -s /usr/share/securedrop-workstation-dom0-config/config.json /home/user/securedrop-workstation/config.json');
3734
script_run('ln -s /usr/share/securedrop-workstation-dom0-config/sd-journalist.sec /home/user/securedrop-workstation/sd-journalist.sec');
35+
36+
# Setup testing requirements and run tests
37+
assert_script_run("alias dnf=qubes-dom0-update && make -C $sdw_path test-deps", timeout => 300);
3838
script_run("env CI=true make -C $sdw_path test | tee make-test.log", timeout => 2400);
3939

4040

0 commit comments

Comments
 (0)