Projects
home:YangfanRuan:valgrind
valgrind
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 8
View file
_service:tar_scm:valgrind.spec
Changed
@@ -18,8 +18,8 @@ Name: valgrind %ifarch riscv64 Version: 3.18.1 -Release: 6 -Epoch: 2 +Release: 6 +Epoch: 2 %else Version: 3.16.0 Release: 1 @@ -28,8 +28,9 @@ Summary: An instrumentation framework for building dynamic analysis tools License: GPLv2+ URL: http://www.valgrind.org/ +%global run_full_regtest 1 %ifarch riscv64 -# A RISC-V fork, recompressed from https://github.com/petrpavlu/valgrind-riscv64/tree/600df2ed0518d6bec31c776fab579543f3e621e9 +# A RISC-V fork, recompressed from https://github.com/petrpavlu/valgrind-riscv64/tree/d087725c0d68908bdebe57c528ac86d3dc11418b Source0: valgrind-riscv64.tar.gz %else Source0: ftp://sourceware.org/pub/%{name}/%{name}-%{version}.tar.bz2 @@ -108,6 +109,37 @@ %check make check V=1 || true + + +echo ===============TESTING=================== +%if %{run_full_regtest} + make regtest || : +%else + make nonexp-regtest || : +%endif + +# Make sure test failures show up in build.log +# Gather up the diffs (at most the first 20 lines for each one) +MAX_LINES=20 +diff_files=`find gdbserver_tests */tests -name '*.diff*' | sort` +if z"$diff_files" = z ; then + echo "Congratulations, all tests passed!" >> diffs +else + for i in $diff_files ; do + echo "=================================================" >> diffs + echo $i >> diffs + echo "=================================================" >> diffs + if `wc -l < $i` -le $MAX_LINES ; then + cat $i >> diffs + else + head -n $MAX_LINES $i >> diffs + echo "<truncated beyond $MAX_LINES lines>" >> diffs + fi + done +fi +cat diffs +echo ===============END TESTING=============== + %files %license COPYING AUTHORS %ifnarch riscv64
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2