To run the test, build it as demonstrated in the sample Makefiles (for example, see the "test" target in sqlmr-sdk/example/c/echo_input/Makefile) and then run the test executable. You must add the SQL-MapReduce SDK lib directory to your LD_LIBRARY_PATH in order to run the test. For example:
LD_LIBRARY_PATH="~/dev/code/stage/sqlmr-sdk/lib:$LD_LIBRARY_PATH"