Summary: This fuels commands to be executed for different sandcastle jobs. This is a nice way to separate RocksDB specific commands from Sandcastle specific job definition. Test Plan: None. Will be tested when we add Sandcastle job. Reviewers: igor, sdong Reviewed By: sdong Subscribers: dhruba, leveldb Differential Revision: https://reviews.facebook.net/D45741main
parent
027ca5b2cd
commit
57b3a87731
@ -0,0 +1,30 @@ |
||||
#!/bin/bash |
||||
# This script is executed by Sandcastle |
||||
# to determine next steps to run |
||||
|
||||
UNIT_TEST_COMMANDS="[ |
||||
{ |
||||
'name':'Rocksdb Unit Test', |
||||
'steps': [ |
||||
{ |
||||
'name':'Build RocksDB', |
||||
'shell':'ROCKSDB_FBCODE_BUILD_WITH_481=1 make clean all', |
||||
'user':'root' |
||||
}, |
||||
{ |
||||
'name':'Test RocksDB', |
||||
'shell':'make J=1 check', |
||||
'user':'root' |
||||
} |
||||
], |
||||
} |
||||
]" |
||||
|
||||
case $1 in |
||||
unit) |
||||
echo $UNIT_TEST_COMMANDS |
||||
;; |
||||
*) |
||||
echo $UNIT_TEST_COMMANDS |
||||
;; |
||||
esac |
Loading…
Reference in new issue