Skip to content

Commit

Permalink
tests: Set XDG_DATA_DIRS for as-installed testing
Browse files Browse the repository at this point in the history
test-portals-openuri.test will fail if it can't find furrfix.desktop
(a mockup of Firefox) in the search path.

Signed-off-by: Simon McVittie <[email protected]>
  • Loading branch information
smcv committed Dec 26, 2024
1 parent 49a9ef6 commit 2c68e18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/template.test.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[Test]
Type=session
Exec=env LSAN_OPTIONS=exitcode=0 LD_LIBRARY_PATH=@libdir@:$LD_LIBRARY_PATH @installed_testdir@/@exec@ --tap
Exec=env LSAN_OPTIONS=exitcode=0 LD_LIBRARY_PATH=@libdir@:$LD_LIBRARY_PATH XDG_DATA_DIRS=@installed_tests_data_dir@/share @installed_testdir@/@exec@ --tap
Output=TAP

0 comments on commit 2c68e18

Please sign in to comment.