1f08c3bdfSopenharmony_cicmd_disable = @set -e; \ 2f08c3bdfSopenharmony_ci echo "Disabling: $(1)"; \ 3f08c3bdfSopenharmony_ci echo "\#!/bin/sh" > $(1); \ 4f08c3bdfSopenharmony_ci echo "echo $(1) skipped" >> $(1); \ 5f08c3bdfSopenharmony_ci echo "echo $(2)" >> $(1); \ 6f08c3bdfSopenharmony_ci echo "exit 0" >> $(1); \ 7f08c3bdfSopenharmony_ci chmod a+x $(1) 8f08c3bdfSopenharmony_ci 9f08c3bdfSopenharmony_ciBROKEN := 10f08c3bdfSopenharmony_ci 11f08c3bdfSopenharmony_cikver_cmp = $(shell $(top_srcdir)/scripts/tst_kvercmp.sh 2 6 22) 12f08c3bdfSopenharmony_ciifeq ($(kver_cmp), 1) 13f08c3bdfSopenharmony_ciBROKEN += t_sigaction_16-1 14f08c3bdfSopenharmony_ciendif 15f08c3bdfSopenharmony_ci 16f08c3bdfSopenharmony_cifilter-known-fails: $(BROKEN) 17f08c3bdfSopenharmony_ci 18f08c3bdfSopenharmony_cit_sigaction_16-1: 19f08c3bdfSopenharmony_ci $(call cmd_disable,conformance/interfaces/sigaction/sigaction_16-1.run-test, \ 20f08c3bdfSopenharmony_ci This fails on old linux because sem_wait always be interrupted by a signal.) 21