json-glib: update to 1.10.6
[oi-userland.git] / components / library / serf / patches / 01-fix-tests.patch
blob7a8c43c865b5097a340bba0b4de26d8a9333b6e9
1 --- serf-1.3.10/build/check.py.orig 2020-03-31 15:30:18.000000000 +0200
2 +++ serf-1.3.10/build/check.py 2023-08-20 15:37:29.181105481 +0200
3 @@ -1,4 +1,4 @@
4 -#!/usr/bin/env python
5 +#!/usr/bin/python3
7 # check.py : Run all the test cases.
9 @@ -51,7 +51,7 @@
10 TEST_ALL_EXE = os.path.join(test_builddir, TEST_ALL_EXE)
12 # Find test responses and run them one by one
13 - for case in glob.glob(testdir + "/testcases/*.response"):
14 + for case in sorted(glob.glob(testdir + "/testcases/*.response")):
15 print("== Testing %s ==" % (case))
16 try:
17 subprocess.check_call([SERF_RESPONSE_EXE, case])