xref: /openbmc/openbmc/poky/meta/recipes-support/gdbm/files/run-ptest (revision eb8dc40360f0cfef56fb6947cc817a547d6d9bc6)
1*eb8dc403SDave Cobbley#!/bin/sh
2*eb8dc403SDave Cobbley#
3*eb8dc403SDave Cobbley# This script is used to run the gmdb test suite
4*eb8dc403SDave Cobbley
5*eb8dc403SDave Cobbleycd tests
6*eb8dc403SDave Cobbley
7*eb8dc403SDave Cobbley./testsuite AUTOTEST_PATH=$PWD abs_builddir=$PWD COMPAT=1 | sed 's/^[^0-9]*\([0-9]\+\): \(.*\)\(ok\|pass\|skipped\|fail\|FAILED\)\(.*\)$/\3: \2 \4/;s/ \+/ /g;s/^ok/PASS/;s/^skipped/SKIP/;s/^fail/FAIL/;s/^FAILED/FAIL/'
8