File: 1008_fix_pypy_tests.patch

package info (click to toggle)
uwsgi 2.0.28-9
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 6,968 kB
  • sloc: ansic: 86,892; python: 6,620; cpp: 1,131; java: 708; perl: 646; sh: 588; ruby: 555; makefile: 148; xml: 130; cs: 121; objc: 37; php: 28; erlang: 20; javascript: 11
file content (17 lines) | stat: -rw-r--r-- 643 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: fix pypy tests when run from another dir
Author: Alexandre Rossi <alexandre.rossi@gmail.com>
Source: upstream, https://github.com/unbit/uwsgi/commit/4616b8f
Bug: https://github.com/unbit/uwsgi/pull/2701
Last-Update: 2025-03-02
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/t/pypy/config.ini
+++ b/t/pypy/config.ini
@@ -3,5 +3,5 @@
 need-app = false
 pypy-lib = /usr/lib/x86_64-linux-gnu/libpypy3-c.so
 pypy-home = /usr/lib/pypy3
-pypy-setup = plugins/pypy/pypy_setup.py
-pypy-wsgi-file = t/python/helloapp.py
+pypy-setup = %d../../plugins/pypy/pypy_setup.py
+pypy-wsgi-file = %d../python/helloapp.py