test_ukify: add instructions
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 18 Jul 2024 12:50:43 +0000 (14:50 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 19 Jul 2024 22:33:14 +0000 (00:33 +0200)
Copied directly from a1d6dbb1c94685d7972f63ed2762fe4ba0251287.

(cherry picked from commit a669091a436c4f0c8537c83bba05a1e33d263dad)

src/ukify/test/test_ukify.py

index 0e3f9328901dd2ff6a45bfd105c6cc8f69ac40ee..5025c79fb9c108bff63cd78f95416b60ea0247c9 100755 (executable)
@@ -1,6 +1,15 @@
 #!/usr/bin/env python3
 # SPDX-License-Identifier: LGPL-2.1-or-later
 
+# The tests can be called via pytest:
+#   PATH=build/:$PATH pytest -v src/ukify/test/test_ukify.py
+# or directly:
+#   PATH=build/:$PATH src/ukify/test/test_ukify.py
+# or via the meson test machinery output:
+#   meson test -C build test-ukify -v
+# or without verbose output:
+#   meson test -C build test-ukify
+
 # pylint: disable=unused-import,import-outside-toplevel,useless-else-on-loop
 # pylint: disable=consider-using-with,wrong-import-position,unspecified-encoding
 # pylint: disable=protected-access,redefined-outer-name