Bug 212832 - [Flatpak] Normalize script path when invoking the python interpreter explicitly
Summary: [Flatpak] Normalize script path when invoking the python interpreter explicitly
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Minor
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-05 09:53 PDT by Lauro Moura
Modified: 2020-06-05 10:21 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lauro Moura 2020-06-05 09:53:09 PDT
To call the a script with python3 inside the sdk I'm using the following, for example with rwt:

./Tools/Scripts/webkit-flatpak --wpe --release --verbose -c python3 ./Tools/Scripts/run-webkit-tests <rwt args...>

The issue is that the path to the script is not being normalized to the /app/webkit bind-mount.
Comment 1 Lauro Moura 2020-06-05 10:21:26 PDT
Nevermind, one can just prepend /app/webkit to the script path manually. As this is not so common in practice, better to avoid more corner cases in the flatpak utils. Closing.