Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add smokers for cpan and parrot branches

  • Loading branch information...
commit 2adcd7963afbc7481046455e4db31c4f6e4d575a 1 parent b898323
@rurban authored
Showing with 39 additions and 0 deletions.
  1. +3 −0  cpan-smoker
  2. +30 −0 smoke-parrot
  3. +6 −0 smoke-parrots
View
3  cpan-smoker
@@ -0,0 +1,3 @@
+#!/usr/bin/perl
+use CPAN::Reporter::Smoker;
+start;
View
30 smoke-parrot
@@ -0,0 +1,30 @@
+#!/bin/sh
+cd /usr/src/parrot/parrot-git || exit
+
+branch=${1:-master}
+# stash changes if dirty or detached head
+if git symbolic-ref -q HEAD
+then
+ if git status|grep " Changes " 2>/dev/null
+ then
+ git stash save "smoke `date +%F` `git name-rev --name-only HEAD`"
+ fi
+fi
+fbranch=smoked."`echo $branch|sed -e's,/,_,'`"
+git fetch origin $branch
+git checkout -b $branch
+git clean -dxf || git clean -d -x
+git reset --hard
+git pull origin $branch
+git reset --hard
+oldrev="`cat ../$fbranch`"
+newrev="`git rev-parse $branch`"
+if [ x$oldrev = x$newrev ]
+then
+ echo "no changes for $branch $newrev"
+else
+ perl Configure.pl --optimize
+ make
+ make smolder_test
+ git rev-parse $branch && echo $newrev >../$fbranch
+fi
View
6 smoke-parrots
@@ -0,0 +1,6 @@
+#!/bin/sh
+for branch in master whiteknight/io_cleanup1 threads native_pbc
+do
+ fbranch="`echo $branch|sed -e's,/,_,'`"
+ ~/bin/smoke-parrot $branch &2>1 >~/parrot/smoked.$fbranch.log
+done
Please sign in to comment.
Something went wrong with that request. Please try again.