Ticket #1670: reproduce-lwp-failure.sh

File reproduce-lwp-failure.sh, 0.7 KB (added by doughera, 4 years ago)

Script to reproduce failures

Line 
1#!/bin/sh
2cd /dev/shm
3rm -rf parrot-clean make-j5 make-j6
4svn co -q -r47170 https://svn.parrot.org/parrot/trunk parrot-clean    # Fetch a clean copy
5
6rsync -a parrot-clean/ parrot/
7    cd parrot
8    perl Configure.pl > Configure.log 2>&1
9    make -j 5 > make.log 2>&1
10    ./parrot t/library/lwp.t > lwp.log 2>&1
11    strace ./parrot t/library/lwp.t > strace.log 2>&1
12    cd ..
13mv parrot make-j5  # Move working version out of the way.
14
15rsync -a parrot-clean/ parrot/
16    cd parrot
17    perl Configure.pl > Configure.log 2>&1
18    make -j 6 > make.log 2>&1
19    ./parrot t/library/lwp.t > lwp.log 2>&1
20    strace ./parrot t/library/lwp.t > strace.log 2>&1
21    cd ..
22mv parrot make-j6 # Move failed version out of the way