summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2004-12-30 05:48:48 +0000
committerDavid Schleef <ds@schleef.org>2004-12-30 05:48:48 +0000
commitd63de3b79237c4cb63be64063f82b39cbe741e3b (patch)
tree423d86c7cb1b862940c0030ca044339cf88ea416 /testsuite
parentee6786e10ddaafc2566f182595e4005db1b7a612 (diff)
downloadliboil-d63de3b79237c4cb63be64063f82b39cbe741e3b.tar.gz
Add support for checking the output of functions and comparing
it to the reference function. * examples/oil-inspect.c: (oil_print_impl), (oil_print_class): * examples/work/Makefile.am: * examples/work/work.c: (test), (main): * liboil/copy/permute.c: (permute_test): * liboil/liboilfuncs.h: * liboil/liboilfunction.c: (oil_class_optimize), (oil_class_register_impl_by_name): * liboil/liboilfunction.h: * liboil/liboilparameter.h: * liboil/liboilprototype.c: (oil_param_from_string): * liboil/liboiltest.c: (oil_test_free), (_oil_test_marshal_function), (oil_test_check_function), (oil_test_check_ref), (oil_test_check_impl), (init_parameter), (fill_array), (check_array): * liboil/liboiltest.h: * testsuite/test1.c: (main):
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/test1.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/testsuite/test1.c b/testsuite/test1.c
index 9bf32da..a2828db 100644
--- a/testsuite/test1.c
+++ b/testsuite/test1.c
@@ -70,11 +70,10 @@ int main (int argc, char *argv[])
if ((impl->flags & OIL_CPU_FLAG_MASK) & ~cpu_flags) {
printf(" not supported\n");
} else {
- oil_test_set_impl (test, impl);
test->n = 1600;
- ret = oil_test_go (test);
+ ret = oil_test_check_impl (test, impl);
if (ret) {
#if 0
printf(" %lu %g\n",test->prof.min,