StanfordAHA / CGRAFlow

Integration test for entire CGRA flow
BSD 3-Clause "New" or "Revised" License
12 stars 2 forks source link

Automatic branch testing #13

Closed cdonovick closed 7 years ago

cdonovick commented 7 years ago

Automatic branch testing

Usage:

./brancher.sh <SUBPROJECT_1> <BRANCH_1> <SUBPROJECT_2> <BRANCH_2> ...

Creates a branch on CGRAflow which checkouts SUBPROJECT_1 BRANCH_1 ... instead of checking out master

 ./cleanup.sh <SUBPROJECT_1> <BRANCH_1> <SUBPROJECT_2> <BRANCH_2> ...

Deletes the branch created by brancher.sh

Example:

./brancher.sh halide test coreir intergration
#makes a branch named halide_test_coreir_integration which pulls from 
#halide:test and coreir:integration
#pushes the branch to github

./cleanup.sh halide test coreir intergration
#deletes halide_test_coreir_integration both locally and from remote

While I did my best to do error checking in these scripts I make no promises that incorrect usage will not cause incorrect behavior.

steveri commented 7 years ago

Very nice!

I agree with James, however, they should probably be in a subdirectory, in order to keep top level clean...I like "scripts/" better than "misc/" (sometimes I use "bin/" or "utils/")

cdonovick commented 7 years ago

I moved the scripts to ./scripts/ as requested

cdonovick commented 7 years ago

I am going to go ahead and merge.