From 42a7aca5044d540b541bba7f6a96e57981be84c0 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Fri, 22 Jan 2010 20:41:19 -0500 Subject: [PATCH] Tests: fix dpi_export with other simulators --- test_regress/t/t_dpi_export_c.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test_regress/t/t_dpi_export_c.cpp b/test_regress/t/t_dpi_export_c.cpp index 450ea29c4..4349b6d69 100644 --- a/test_regress/t/t_dpi_export_c.cpp +++ b/test_regress/t/t_dpi_export_c.cpp @@ -93,7 +93,12 @@ int dpix_run_tests() { } #endif - CHECK_RESULT (strcmp(svDpiVersion(), "1800-2005"), 0); +#ifndef CADENCE // Unimplemented; how hard is it? + printf ("svDpiVersion: %s\n",svDpiVersion()); + CHECK_RESULT (strcmp(svDpiVersion(), "1800-2005")==0 + || strcmp(svDpiVersion(), "P1800-2005")==0 + , 1); +#endif CHECK_RESULT (dpix_int123(), 0x123 );