Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: lantz/build-scripts
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: mininet/build-scripts
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 10 commits
  • 3 files changed
  • 1 contributor

Commits on Jul 9, 2014

  1. Create README.md

    lantz committed Jul 9, 2014
    Copy the full SHA
    252ec93 View commit details
  2. Add examples test.

    lantz committed Jul 9, 2014
    Copy the full SHA
    24c2e7c View commit details
  3. Copy the full SHA
    b91d172 View commit details
  4. oops, define examples

    lantz committed Jul 9, 2014
    Copy the full SHA
    c84ebc6 View commit details

Commits on Jul 10, 2014

  1. examples -> examplesfull

    lantz committed Jul 10, 2014
    Copy the full SHA
    8f945cc View commit details
  2. Copy the full SHA
    15a8110 View commit details
  3. Copy the full SHA
    42a062b View commit details
  4. Copy the full SHA
    d64b48a View commit details

Commits on Jul 15, 2014

  1. Copy the full SHA
    723f21c View commit details

Commits on Jul 16, 2014

  1. Copy the full SHA
    0db62d5 View commit details
Showing with 15 additions and 6 deletions.
  1. +4 −0 README.md
  2. +7 −2 nightly.sh
  3. +4 −4 test-built-vm.sh
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
build-scripts
=============

mininet nightly build scripts
9 changes: 7 additions & 2 deletions nightly.sh
Original file line number Diff line number Diff line change
@@ -17,6 +17,7 @@ opts='-z --timeout 1800'
scripts=/home/mininet/build-scripts
post=$scripts/post-build-result.sh
check=$scripts/check-build-dir.sh
examples=$scripts/test-built-vm.sh
maxbuilds=3

echo '* Pulling latest build.py'
@@ -38,7 +39,7 @@ cd $dir

# Build current master branch

dists="precise quantal raring saucy trusty"
dists="precise saucy trusty utopic"
archs="32 64"

for dist in $dists; do
@@ -49,13 +50,15 @@ for dist in $dists; do
builddir=mn-$target*
echo "* Checking build log for $builddir"
$post "check-$target" $check $builddir
echo "* Testing examples (quick)"
$post "test-examples-$target" $examples $date $target examplesquick
done
done

# Build stable release

release=2.1.0p2
dists="raring"
dists="trusty"
opts="$opts -b $release"

for dist in $dists; do
@@ -66,6 +69,8 @@ for dist in $dists; do
builddir=mn-$release-$target*
echo "* Checking build log for $builddir"
$post "check-$release-$target" $check $builddir
echo "* Testing examples (quick)"
$post "test-examples-$release-$target" $examples $date $target examplesquick
done
done

8 changes: 4 additions & 4 deletions test-built-vm.sh
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
if [ $# -lt 2 ]; then
echo "Mininet nightly build tester"
echo "Usage: $0 <day> <flavor> [<test>...]"
echo "Valid tests include: sanity core examplesquick examples ..."
echo "Valid tests include: sanity core examplesquick examplesfull ..."
exit 1
fi

@@ -27,8 +27,8 @@ if [ "$images" != "" ]; then
fi

build=~/mininet/util/vm/build.py
# was: --verbose
opts=""
# BL: was: "" - using verbose for now as we add this to nightly
opts="--verbose"
branch=""
#--branch master"

@@ -37,7 +37,7 @@ for image in $images; do
cmd="$build $opts $branch $tests --image $image"
echo "- $cmd"
$cmd
echo "* Done testing $image"
echo "* Done testing $image (exit code $?)"
done

exit 0