Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 XVFB_OPTSscip-debian debian pyglet 2.1.14+ds-1 pyglet/rules/XVFB_OPTS.=--auto-servernum --server-num=20 -s "-screen 0 1024x768x24 -ac +extension GLX +render -noreset"
4
5 EXCLUDED_TESTSscip-debian debian pyglet 2.1.14+ds-1 pyglet/rules/EXCLUDED_TESTS. :=
6 # Non-interactive tests
7 EXCLUDED_TESTSscip-debian debian pyglet 2.1.14+ds-1 pyglet/rules/EXCLUDED_TESTS. += not interactive
8 # PulseAudio related
9 EXCLUDED_TESTSscip-debian debian pyglet 2.1.14+ds-1 pyglet/rules/EXCLUDED_TESTS. += and not PulseAudio
10 EXCLUDED_TESTSscip-debian debian pyglet 2.1.14+ds-1 pyglet/rules/EXCLUDED_TESTS. += and not test_pulse
11 EXCLUDED_TESTSscip-debian debian pyglet 2.1.14+ds-1 pyglet/rules/EXCLUDED_TESTS. += and not test_player_play
12 EXCLUDED_TESTSscip-debian debian pyglet 2.1.14+ds-1 pyglet/rules/EXCLUDED_TESTS. += and not test_player_play_multiple
13 # test suite just stops
14 EXCLUDED_TESTSscip-debian debian pyglet 2.1.14+ds-1 pyglet/rules/EXCLUDED_TESTS. += and not test_player_silent_audio_driver
15
16 # Failing for unknown reason but looks harmless
17 EXCLUDED_TESTSscip-debian debian pyglet 2.1.14+ds-1 pyglet/rules/EXCLUDED_TESTS. += and not test_freetype_face
18 # These ones are failing in cowbuilder
19 # Fonts are related to missing "arial" font which is normal
20 # Driver one looks being related to not having ALSA stuff
21 EXCLUDED_TESTSscip-debian debian pyglet 2.1.14+ds-1 pyglet/rules/EXCLUDED_TESTS. += and not test_fontconfig
22 EXCLUDED_TESTSscip-debian debian pyglet 2.1.14+ds-1 pyglet/rules/EXCLUDED_TESTS. += and not test_linux_fontconfig
23 EXCLUDED_TESTSscip-debian debian pyglet 2.1.14+ds-1 pyglet/rules/EXCLUDED_TESTS. += and not test_driver
24 # Can't test openal in cowbuilder
25 EXCLUDED_TESTSscip-debian debian pyglet 2.1.14+ds-1 pyglet/rules/EXCLUDED_TESTS. += and not test_openal
26 # cf. #929697/#1092867
27 EXCLUDED_TESTSscip-debian debian pyglet 2.1.14+ds-1 pyglet/rules/EXCLUDED_TESTS. += and not test_elapsed_time_between_tick
28 EXCLUDED_TESTSscip-debian debian pyglet 2.1.14+ds-1 pyglet/rules/EXCLUDED_TESTS. += and not test_compute_fps
29
30 # Exclude interactive tests which are mostly just stressing the OpenGL drivers (which is not very useful in this scenario)
31 # see https://github.com/pyglet/pyglet/issues/346#issuecomment-769692934
32 EXCLUDED_TEST_GROUPSscip-debian debian pyglet 2.1.14+ds-1 pyglet/rules/EXCLUDED_TEST_GROUPS. = --ignore=tests/interactive
33
34 export PYBUILD_NAMEscip-debian debian pyglet 2.1.14+ds-1 pyglet/rules/PYBUILD_NAME.=pyglet
35 export PYBUILD_TEST_CUSTOMscip-debian debian pyglet 2.1.14+ds-1 pyglet/rules/PYBUILD_TEST_CUSTOM.=1
36 export PYBUILD_TEST_ARGSscip-debian debian pyglet 2.1.14+ds-1 pyglet/rules/PYBUILD_TEST_ARGS.=xvfb-run $(XVFB_OPTSscip-debian debian pyglet 2.1.14+ds-1 pyglet/rules/XVFB_OPTS.) python{version} -m pytest -v -k "$(EXCLUDED_TESTS)" $(EXCLUDED_TEST_GROUPSscip-debian debian pyglet 2.1.14+ds-1 pyglet/rules/EXCLUDED_TEST_GROUPS.)
37
38 %scip-debian debian pyglet 2.1.14+ds-1 pyglet/rules/`%`().:
39 dh $@ --buildsystem=pybuild
40