Advertisement
colin-stephane

Untitled

Jul 6th, 2022
1,179
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.22 KB | None
  1. bigbob@bigbob-UX331UN:~/tmp/Building/iwd/iwd$ cat debian/rules
  2. #!/usr/bin/make -f
  3.  
  4. export DEB_BUILD_MAINT_OPTIONS = hardening=+all
  5.  
  6. # skip tests failing on official build daemons:
  7. #  * test-wsc: unit/test-wsc.c:435: wsc_test_uuid_from_addr: Assertion `wsc_uuid_from_addr(test->addr, uuid)' failed.
  8. #  * test-eap-sim: unit/test-eap-sim.c:193: test_calc_mac: Assertion `!memcmp(ex_mac, pkt + pos - EAP_SIM_MAC_LEN, EAP_SIM_MAC_LEN)' failed.
  9. #  * test-dpp: unit/test-dpp.c:114: test_key_derivation: Assertion `m' failed.
  10. # cause could be kernel modules: <https://bugs.debian.org/1003536>
  11. # or (less likely) network-related: <https://bugs.debian.org/813471#40>
  12. TESTS = $(basename $(wildcard unit/*.c))
  13. TESTS_FLAKY = unit/test-wsc unit/test-eap-sim unit/test-dpp
  14.  
  15. %:
  16.     dh $@
  17.  
  18. override_dh_auto_configure:
  19.     dh_auto_configure -- --enable-external-ell
  20.  
  21. override_dh_auto_test:
  22.     make -j2 check VERBOSE=1 TESTS='$(filter-out $(TESTS_FLAKY),$(TESTS))'
  23.     make -j2 check VERBOSE=1 TESTS='$(TESTS_FLAKY)' || true
  24.  
  25. override_dh_installinit:
  26.     dh_installinit --no-enable --no-start --no-stop-on-upgrade
  27.  
  28. override_dh_installsystemd:
  29.     dh_installsystemd --no-enable --no-start --no-stop-on-upgrade
  30. bigbob@bigbob-UX331UN:~/tmp/Building/iwd/iwd$
Advertisement
RAW Paste Data Copied
Advertisement