Changes in / [e72969a:03c0e44]


Ignore:
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    re72969a r03c0e44  
    172172                echo "Archiving core dumps"
    173173                dir (BuildDir) {
    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                         }
     174                        sh """${SrcDir}/tools/jenkins/archive-gen.sh"""
     175                        archiveArtifacts artifacts: "tests/crashes/**/*,lib/**/lib*.so*,setup.sh", fingerprint: true
    178176                }
    179177                throw err
  • tests/concurrent/.expect/sleep.txt

    re72969a r03c0e44  
    11start
     2fast loop 0.047
     3fast loop 0.094
     4fast loop 0.141
     5fast loop 0.188
     6fast loop 0.235
     7slow loop 0.277
     8fast loop 0.282
     9fast loop 0.329
     10fast loop 0.376
     11fast loop 0.423
     12fast loop 0.47
     13fast loop 0.517
     14slow loop 0.554
     15fast loop 0.564
     16fast loop 0.611
     17fast loop 0.658
     18fast loop 0.705
     19fast loop 0.752
     20fast loop 0.799
     21slow loop 0.831
     22fast loop 0.846
     23fast loop 0.893
     24fast loop 0.94
     25slow loop 1.108
    226done
  • tests/concurrent/sleep.cfa

    re72969a r03c0e44  
    77}
    88
    9 volatile int counter = 0;
    10 
    119thread fast_sleeper {};
    1210void main(fast_sleeper &) {
     
    1412        for(i; 20) {
    1513                sleep(wait);
    16                 __atomic_fetch_add( &counter, 1, __ATOMIC_RELAXED );
     14                sout | acquire | "fast loop" | ((1 + i) * wait);
    1715        }
    1816}
     
    2220        Duration wait = 277`ms;
    2321        for(i; 4) {
     22
    2423                sleep(wait);
    25                 int val = __atomic_add_fetch( &counter, -5, __ATOMIC_RELAXED );
    26                 if(val < -9) abort | "Value reached negative value:" | val;
     24                sout | acquire | "slow loop" | ((1 + i) * wait);
    2725        }
    2826}
  • tools/jenkins/setup.sh.in

    re72969a r03c0e44  
    3030{
    3131        local elfout=$(readelf -d $1 | grep "RUNPATH")
    32         regex='\[/([[:alpha:][:digit:]@/_.-]+)\]'
     32        regex="\[/([[:alpha:]/@_-\.[:digit:]]+)\]"
    3333        if [[ $elfout =~ $regex ]]; then
    3434                local myRPath=${BASH_REMATCH[1]}
     
    4646        retlcldeps=()
    4747        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"
    5151                if [[ $line =~ $regex1 ]]; then
    5252                        retsysdeps+=(${BASH_REMATCH[1]})
     
    123123do
    124124        # find the test's name
    125         regex='tests/crashes/[[[:alpha:]/-]+/([[:alpha:][:digit:]@/_.-]+)/exe'
     125        regex="tests/crashes/[[[:alpha:]/-]+/([[:alpha:]/\@_\-\.[:digit:]]+)/exe"
    126126        if [[ $pgm =~ $regex ]]; then
    127127                name=${BASH_REMATCH[1]}
Note: See TracChangeset for help on using the changeset viewer.