uci-cbcl/genomix — pull request #61 by anbangx (2013-11-14 00:40:07+00:00)
Title: Anbangx/add expected output

Hi ALL,

Just finished the script that can generate pregel TestSuite expected results. A couples of changes in this feature branch:

1. Add helper patterns to driver, like "TIP_ADD", "BUBBLE_ADD"... The goal to do this is to simply the procedure of generating expected results. Take a simple example, the testcase in "BUBBLE_MERGE" should be generated by "BUILD, BUBBLE_ADD", rather than directly following graph building - "BUILD, BUBBLE_MERGE". I don't really want to move test staff to our driver. But it seems there is no better solution currently.

2. Rename the file names of only_.... in src/test/resources/ and the folder name of each pattern in the TestSuite in order to be consistent with Expected results folder name.

So now whatever metadata or data structure we change in our first step - graph building, we can generate the expected results by automatically run the script - genomix/genomix-driver/src/main/resources/scripts/gen_expectedfile.sh. :smile:

@Nan-Zhang @JavierJia @jakebiesinger Please have a look at them.