Initial import of libdpf.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
commit
e4e666f459
4563 changed files with 1690372 additions and 0 deletions
29
thirdparty/simde/test/wasm/simd128/test-simd128-footer.h
vendored
Normal file
29
thirdparty/simde/test/wasm/simd128/test-simd128-footer.h
vendored
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
#if defined(SIMDE_TEST_BARE)
|
||||
int main(void) {
|
||||
int retval = EXIT_SUCCESS;
|
||||
|
||||
fprintf(stdout, "1..%zu\n", (sizeof(test_suite_tests) / sizeof(test_suite_tests[0])));
|
||||
for (size_t i = 0 ; i < (sizeof(test_suite_tests) / sizeof(test_suite_tests[0])) ; i++) {
|
||||
int res = test_suite_tests[i].func();
|
||||
if (res != 0) {
|
||||
retval = EXIT_FAILURE;
|
||||
fprintf(stdout, "not ok %zu " HEDLEY_STRINGIFY(SIMDE_TEST_WASM_SIMD128_INSN) "/%s\n", i + 1, test_suite_tests[i].name);
|
||||
} else {
|
||||
fprintf(stdout, "ok %zu " HEDLEY_STRINGIFY(SIMDE_TEST_WASM_SIMD128_INSN) "/%s\n", i + 1, test_suite_tests[i].name);
|
||||
}
|
||||
}
|
||||
|
||||
return retval;
|
||||
}
|
||||
#else
|
||||
#if defined(__cplusplus)
|
||||
static MunitSuite suite = { const_cast<char*>("/" HEDLEY_STRINGIFY(SIMDE_TEST_WASM_SIMD128_INSN)), test_suite_tests, NULL, 1, MUNIT_SUITE_OPTION_NONE };
|
||||
#else
|
||||
static MunitSuite suite = { (char*) "/" HEDLEY_STRINGIFY(SIMDE_TEST_WASM_SIMD128_INSN), test_suite_tests, NULL, 1, MUNIT_SUITE_OPTION_NONE };
|
||||
#endif
|
||||
|
||||
HEDLEY_C_DECL MunitSuite*
|
||||
SIMDE_TEST_GENERATE_VARIANT_SYMBOL_CURRENT(HEDLEY_CONCAT(simde_test_wasm_simd128_get_suite_,SIMDE_TEST_WASM_SIMD128_INSN)) (void) {
|
||||
return &suite;
|
||||
}
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue