Forum: Other

Post: How to run regression suites?

How to run regression suites?
peixinz
Nov 18, 2014
I ran "ant check_sql" immediately after downloading VoltDB 4.7 code. but it produces build errors. The error message looks like this:

[exec] [exec] make: Leaving directory `/home/zpx/voltdb-original/voltdb/obj/release'
[exec] [exec] build.py: Making the makefile
[exec] [exec] collect2: ld returned 1 exit status
[exec] [exec] make: *** [cpptests/execution/add_drop_table] Error 1
[exec] [exec] make: *** Waiting for unfinished jobs....
[exec] [exec] collect2: ld returned 1 exit status
[exec] [exec] make: *** [cpptests/storage/table_and_indexes_test] Error 1
[exec] [exec] collect2: ld returned 1 exit status
[exec] [exec] make: *** [cpptests/storage/table_test] Error 1
[exec] [exec] collect2: ld returned 1 exit status
[exec] [exec] make: *** [cpptests/plannodes/PlanNodeFragmentTest] Error 1
[exec]
[exec] BUILD FAILED
[exec] /home/zpx/voltdb-original/voltdb/build.xml:1166: exec returned: 255
[exec]
[exec] Total time: 57 seconds

BUILD FAILED
/home/zpx/voltdb-original/voltdb/build.xml:300: exec returned: 1



line 1166 of build.xml is execution of eecheck. line 300 of build.xml is execution of check_sql.
May I ask what is the correct way to run regression suites?
Thanks!
peixinz
Nov 18, 2014
I temporarily got it running by commenting out the eecheck part inside check_sql. But I still want to know what is the correct way to run the regression suites.
Also, is it possible to run a single regression suite test, instead of running all of them?
Thank you very much!
rmorgenstein
Nov 24, 2014
By 'download', to you mean from our download page? If so, then you will not be able to run tests. If you mean that you checked it our from github, then you will need to build it before running any tests. Instructions for building and running unit tests are on github: https://github.com/VoltDB/voltdb/wiki/Building-VoltDB.