Skip to content

Commit

Permalink
beaker-tests-sanity: use custom package for testing ExclusiveArch
Browse files Browse the repository at this point in the history
  • Loading branch information
FrostyX committed Nov 13, 2023
1 parent f5e6e17 commit 3efa275
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Name: pkg-with-macros
Version: 1.0
Release: 1%{?dist}
Summary: Testing spec file
License: GPLv2
URL: https://github.com/fedora-copr/copr
ExcludeArch: aarch64 %{power64} s390x


%description
Test spec file with macros

%files

%build

%check

%changelog
* Thu May 12 2022 Jakub Kadlcik <[email protected]> - 1.0-1
- Initial version
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ rlJournalStart

# Test ExcludeArch
rlRun "copr-cli create ${NAME_PREFIX}ExcludeArch $chroots"
rlRun "copr-cli build-distgit ${NAME_PREFIX}ExcludeArch --name python-giacpy"
rlRun "copr-cli build ${NAME_PREFIX}ExcludeArch files/pkg-with-excludearch.spec "
rlRun "copr monitor ${NAME_PREFIX}ExcludeArch > $OUTPUT"
rlAssertEquals "Skipped chroots" `cat $OUTPUT |grep "skipped" |wc -l` 3
rlAssertEquals "Succeeded chroots" `cat $OUTPUT |grep "succeeded" |wc -l` 1
Expand Down

0 comments on commit 3efa275

Please sign in to comment.