Minor fix to CI job

Summary: Fix the issue where compilation error will not result in log file not
found error

Test Plan: None

Reviewers: sdong igor

CC: leveldb@

Task ID: #6968635

Blame Rev:
main
krad 9 years ago
parent c67d206898
commit 7db1471cc1
  1. 16
      build_tools/rocksdb-lego-determinator

@ -40,13 +40,23 @@ PARALLEL_UNIT_TEST_COMMANDS="[
$CLEANUP_ENV, $CLEANUP_ENV,
{ {
'name':'Build and test RocksDB debug version', 'name':'Build and test RocksDB debug version',
'shell':'$SHM $DEBUG make check 2>&1 > /dev/null || cat t/log-*', 'shell':'$DEBUG make -j$(nproc) all && $SHM make check > /dev/null 2>&1',
'user':'root'
},
{
'name':'Print logs',
'shell':'cat t/log-*',
'user':'root' 'user':'root'
}, },
$CLEANUP_ENV, $CLEANUP_ENV,
{ {
'name':'Build and test RocksDB debug version under gcc-4.8.1', 'name':'Build and test RocksDB debug version under gcc-4.8.1',
'shell':'$SHM $GCC_481 $DEBUG make check 2>&1 > /dev/null || cat t/log-*', 'shell':'$GCC_481 $DEBUG make -j$(nproc) all && $SHM make check > /dev/null 2>&1',
'user':'root'
},
{
'name':'Print logs',
'shell':'cat t/log-*',
'user':'root' 'user':'root'
}, },
], ],
@ -100,7 +110,7 @@ CLANG_UNIT_TEST_COMMANDS="[
$CLEANUP_ENV, $CLEANUP_ENV,
{ {
'name':'Build and test RocksDB debug', 'name':'Build and test RocksDB debug',
'shell':'$CLANG $SHM $DEBUG make check', 'shell':'$CLANG $SHM $DEBUG make J=1 check',
'user':'root' 'user':'root'
}, },
], ],

Loading…
Cancel
Save