Changes in / [03c0e44:e72969a]
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkinsfile
r03c0e44 re72969a 172 172 echo "Archiving core dumps" 173 173 dir (BuildDir) { 174 sh """${SrcDir}/tools/jenkins/archive-gen.sh""" 175 archiveArtifacts artifacts: "tests/crashes/**/*,lib/**/lib*.so*,setup.sh", fingerprint: true 174 if( fileExists 'tests/crashes' ) { 175 sh """${SrcDir}/tools/jenkins/archive-gen.sh""" 176 archiveArtifacts artifacts: "tests/crashes/**/*,lib/**/lib*.so*,setup.sh", fingerprint: true 177 } 176 178 } 177 179 throw err -
tests/concurrent/.expect/sleep.txt
r03c0e44 re72969a 1 1 start 2 fast loop 0.0473 fast loop 0.0944 fast loop 0.1415 fast loop 0.1886 fast loop 0.2357 slow loop 0.2778 fast loop 0.2829 fast loop 0.32910 fast loop 0.37611 fast loop 0.42312 fast loop 0.4713 fast loop 0.51714 slow loop 0.55415 fast loop 0.56416 fast loop 0.61117 fast loop 0.65818 fast loop 0.70519 fast loop 0.75220 fast loop 0.79921 slow loop 0.83122 fast loop 0.84623 fast loop 0.89324 fast loop 0.9425 slow loop 1.10826 2 done -
tests/concurrent/sleep.cfa
r03c0e44 re72969a 7 7 } 8 8 9 volatile int counter = 0; 10 9 11 thread fast_sleeper {}; 10 12 void main(fast_sleeper &) { … … 12 14 for(i; 20) { 13 15 sleep(wait); 14 sout | acquire | "fast loop" | ((1 + i) * wait);16 __atomic_fetch_add( &counter, 1, __ATOMIC_RELAXED ); 15 17 } 16 18 } … … 20 22 Duration wait = 277`ms; 21 23 for(i; 4) { 22 23 24 sleep(wait); 24 sout | acquire | "slow loop" | ((1 + i) * wait); 25 int val = __atomic_add_fetch( &counter, -5, __ATOMIC_RELAXED ); 26 if(val < -9) abort | "Value reached negative value:" | val; 25 27 } 26 28 } -
tools/jenkins/setup.sh.in
r03c0e44 re72969a 30 30 { 31 31 local elfout=$(readelf -d $1 | grep "RUNPATH") 32 regex= "\[/([[:alpha:]/@_-\.[:digit:]]+)\]"32 regex='\[/([[:alpha:][:digit:]@/_.-]+)\]' 33 33 if [[ $elfout =~ $regex ]]; then 34 34 local myRPath=${BASH_REMATCH[1]} … … 46 46 retlcldeps=() 47 47 while IFS= read -r line; do 48 regex1= "/([[:alpha:]/@_-\.[:digit:]]+)"49 regex2= "(libcfa[[:alpha:]\.[:digit:]]+) => not found"50 regex3= "linux-vdso.so.1"48 regex1='/([[:alpha:][:digit:]@/_.-]+)' 49 regex2='(libcfa[[:alpha:][:digit:].]+) => not found' 50 regex3='linux-vdso.so.1' 51 51 if [[ $line =~ $regex1 ]]; then 52 52 retsysdeps+=(${BASH_REMATCH[1]}) … … 123 123 do 124 124 # find the test's name 125 regex= "tests/crashes/[[[:alpha:]/-]+/([[:alpha:]/\@_\-\.[:digit:]]+)/exe"125 regex='tests/crashes/[[[:alpha:]/-]+/([[:alpha:][:digit:]@/_.-]+)/exe' 126 126 if [[ $pgm =~ $regex ]]; then 127 127 name=${BASH_REMATCH[1]}
Note: See TracChangeset
for help on using the changeset viewer.