File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11Summary: The NetBSD make(1) tool
22Name: bmake
33Version: 20211221
4- Release: 2 %{?dist }
4+ Release: 3 %{?dist }
55License: BSD
66Vendor: Microsoft Corporation
77Distribution: Mariner
@@ -11,6 +11,7 @@ Source0: %{url}/bmake-%{version}.tar.gz
1111# on pipeline machines. Disabling with this patch for now, and
1212# tracking this bug in workitem 38644519
1313Patch0: remove-inconsistent-time-tests.patch
14+ Patch1: do-not-run-tests-on-install.patch
1415Requires: mk-files
1516
1617BuildRequires: gcc
@@ -52,6 +53,11 @@ export STRIP=/bin/true # Make sure binary is not stripped
5253mv %{buildroot }%{_mandir }/{cat,man}1
5354chmod a-x %{buildroot }%{_datadir }/mk/mkopt.sh
5455
56+ %check
57+ # skip 'job-output-null' which randomly fails in build pipelines
58+ export BROKEN_TESTS=job-output-null
59+ ./bmake -m mk test
60+
5561%files
5662%doc ChangeLog README
5763%license LICENSE
@@ -64,6 +70,10 @@ chmod a-x %{buildroot}%{_datadir}/mk/mkopt.sh
6470%{_datadir }/mk
6571
6672%changelog
73+ * Thu May 15 2025 Andrew Phelps <anphel@microsoft.com> - 20211221-3
74+ - Move unit tests to check section
75+ - Disable unreliable test job-output-null
76+
6777* Tue Mar 22 2022 Cameron Baird <cameronbaird@microsoft.com> - 20211221-2
6878- Add patch remove-inconsistent-time-tests.patch, which disables unreliably failing
6979- tests in varmod-localtime.mk
Original file line number Diff line number Diff line change 1+ diff -urN a/boot-strap b/boot-strap
2+ --- a/boot-strap 2025-05-16 03:40:30.989548051 +0000
3+ +++ b/boot-strap 2025-05-16 03:40:51.653715837 +0000
4+ @@ -434,7 +434,6 @@
5+ }
6+
7+ op_install() {
8+ - op_test
9+ case "$INSTALL_PREFIX,$INSTALL_BIN,$prefix" in
10+ ,$HOST_TARGET/bin,*/$HOST_TARGET)
11+ INSTALL_PREFIX=`dirname $prefix`
You can’t perform that action at this time.
0 commit comments