diff --git a/concourse/scripts/gpMgmt_check_gpdb.bash b/concourse/scripts/gpMgmt_check_gpdb.bash index 20c47db4bcf50770a5370d297ad1f0d83da17508..d3b8b2275e0fd678120bab426dd38f268e36b22c 100755 --- a/concourse/scripts/gpMgmt_check_gpdb.bash +++ b/concourse/scripts/gpMgmt_check_gpdb.bash @@ -28,11 +28,14 @@ function gen_env(){ done exit 1 } + base_path=\${1} source /usr/local/greenplum-db-devel/greenplum_path.sh source /opt/gcc_env.sh - source \${1}/gpdb_src/gpAux/gpdemo/gpdemo-env.sh - cd \${1}/gpdb_src/gpMgmt/bin + source \${base_path}/gpdb_src/gpAux/gpdemo/gpdemo-env.sh + cd \${base_path}/gpdb_src/gpMgmt/bin make check + # show results into concourse + cat \${base_path}/gpdb_src/gpMgmt/gpMgmt_testunit_results.log EOF chmod a+x /opt/run_test.sh