Mingli Yu c0095bd118
rocksdb: Add ptest support
# ./run-ptest
PASS: agg_merge_test
PASS: cache_test
PASS: db_basic_test
PASS: env_basic_test
PASS: testutil_test

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-29 10:01:08 -07:00

13 lines
224 B
Bash

#!/bin/sh
ptestdir=$(dirname "$(readlink -f "$0")")
cd "$ptestdir"/tests || exit
for test in *_test; do
if ./${test} >/dev/null 2>&1; then
echo "PASS: ${test}"
else
echo "FAIL: ${test}"
fi
done