summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2020-11-24 14:45:01 +0100
committerMartin Stransky <stransky@redhat.com>2020-11-24 14:45:01 +0100
commit378e1130a2b15e25d55786d7e3c23f04e0315630 (patch)
tree4544449c941301d77d3a663dff94514e1d5d8e28
parentTest result tweak (diff)
downloadlibrewolf-fedora-ff-378e1130a2b15e25d55786d7e3c23f04e0315630.tar.gz
librewolf-fedora-ff-378e1130a2b15e25d55786d7e3c23f04e0315630.tar.bz2
librewolf-fedora-ff-378e1130a2b15e25d55786d7e3c23f04e0315630.zip
Copy test results to version/release subdir
-rw-r--r--firefox.spec22
1 files changed, 11 insertions, 11 deletions
diff --git a/firefox.spec b/firefox.spec
index 0b50c90..27b2fee 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -361,10 +361,10 @@ Summary: Results of testsuite
%description -n %{testsuite_pkg_name}
This package contains results of tests executed during build.
%files -n %{testsuite_pkg_name}
-/test_general
-/test_basic
-/test_wr
-/test_summary.txt
+/%{version}%-%{release}/test_general
+/%{version}%-%{release}/test_basic
+/%{version}%-%{release}/test_wr
+/%{version}%-%{release}/test_summary.txt
%endif
#---------------------------------------------------------------------
@@ -854,13 +854,13 @@ sed -i -e "s/\[Crash Reporter\]/[Crash Reporter]\nEnabled=1/" %{buildroot}/%{moz
%endif
%if 0%{?run_firefox_tests}
-%{__mkdir_p} %{buildroot}/test_general
-%{__mkdir_p} %{buildroot}/test_basic
-%{__mkdir_p} %{buildroot}/test_wr
-%{__cp} test_general/* %{buildroot}/test_general
-%{__cp} test_basic/* %{buildroot}/test_basic
-%{__cp} test_wr/* %{buildroot}/test_wr
-%{__cp} test_summary.txt %{buildroot}/
+%{__mkdir_p} %{buildroot}/%{version}%-%{release}/test_general
+%{__mkdir_p} %{buildroot}/%{version}%-%{release}/test_basic
+%{__mkdir_p} %{buildroot}/%{version}%-%{release}/test_wr
+%{__cp} test_general/* %{buildroot}/%{version}%-%{release}/test_general
+%{__cp} test_basic/* %{buildroot}/%{version}%-%{release}/test_basic
+%{__cp} test_wr/* %{buildroot}/%{version}%-%{release}/test_wr
+%{__cp} test_summary.txt %{buildroot}/%{version}%-%{release}/
%endif
# Default
bgstack15