diff options
author | Emmanuele Bassi <ebassi@gmail.com> | 2019-04-12 20:09:50 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gmail.com> | 2019-04-12 20:09:50 +0000 |
commit | 261b8c7ee68591d8e330cc88e585e55f6bab390b (patch) | |
tree | 7a3350e12adef49473596d0ba9bc99403bf3ad29 | |
parent | c5a4a26f069305e58b8a4773802e9a7328d415c2 (diff) | |
parent | f58f0732c2c9e4e4016102e23308753d7cde851c (diff) | |
download | gtk+-261b8c7ee68591d8e330cc88e585e55f6bab390b.tar.gz |
Merge branch 'cache-reftest-images' into 'master'
ci: Cache the reftest artifacts
See merge request GNOME/gtk!744
-rw-r--r-- | .gitlab-ci.yml | 1 | ||||
-rw-r--r-- | testsuite/reftests/meson.build | 7 |
2 files changed, 7 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c5c681fffd..57cb4ab9c1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,6 +26,7 @@ fedora-x86_64: paths: - "${CI_PROJECT_DIR}/_build/meson-logs" - "${CI_PROJECT_DIR}/_build/report.xml" + - "${CI_PROJECT_DIR}/_build/testsuite/reftests/output/*.png" cache: key: "$CI_JOB_NAME" <<: *cache-paths diff --git a/testsuite/reftests/meson.build b/testsuite/reftests/meson.build index b91ec0927e..38c98cb6e7 100644 --- a/testsuite/reftests/meson.build +++ b/testsuite/reftests/meson.build @@ -427,7 +427,12 @@ xfails = [ foreach testname : testdata if testname.endswith('.ui') and not testname.endswith('.ref.ui') test('reftest ' + testname, gtk_reftest, - args: [ '--tap', '-k', '--verbose', join_paths(meson.current_source_dir(), testname) ], + args: [ '--tap', + '-k', + '--verbose', + '-o', join_paths(meson.current_build_dir(), 'output'), + join_paths(meson.current_source_dir(), testname), + ], env: [ 'GIO_USE_VOLUME_MONITOR=unix', 'GSETTINGS_BACKEND=memory', 'GSETTINGS_SCHEMA_DIR=@0@'.format(gtk_schema_build_dir), |