-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #364 from wasmx/smoketests
Add smoketests to ctest
- Loading branch information
Showing
37 changed files
with
51 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
add_subdirectory(benchmarks) | ||
add_subdirectory(spectests) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Fizzy: A fast WebAssembly interpreter | ||
# Copyright 2019-2020 The Fizzy Authors. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
add_test( | ||
NAME fizzy/smoketests/spectests/default | ||
COMMAND fizzy-spectests ${CMAKE_CURRENT_LIST_DIR}/default | ||
) | ||
set_tests_properties( | ||
fizzy/smoketests/spectests/default | ||
PROPERTIES | ||
PASS_REGULAR_EXPRESSION "PASSED 23, FAILED 0, SKIPPED 7" | ||
) | ||
|
||
add_test( | ||
NAME fizzy/smoketests/spectests/skipvalidation | ||
COMMAND fizzy-spectests ${CMAKE_CURRENT_LIST_DIR}/default --skip-validation | ||
) | ||
set_tests_properties( | ||
fizzy/smoketests/spectests/skipvalidation | ||
PROPERTIES | ||
PASS_REGULAR_EXPRESSION "PASSED 22, FAILED 0, SKIPPED 8" | ||
) | ||
|
||
add_test( | ||
NAME fizzy/smoketests/spectests/failures | ||
COMMAND fizzy-spectests ${CMAKE_CURRENT_LIST_DIR}/failures | ||
) | ||
set_tests_properties( | ||
fizzy/smoketests/spectests/failures | ||
PROPERTIES | ||
PASS_REGULAR_EXPRESSION "PASSED 4, FAILED 18, SKIPPED 2" | ||
) | ||
|
||
|
||
# Dump coverage data to distinct files (otherwise file will be overwritten). | ||
set_tests_properties( | ||
fizzy/smoketests/spectests/default | ||
fizzy/smoketests/spectests/skipvalidation | ||
fizzy/smoketests/spectests/failures | ||
PROPERTIES | ||
ENVIRONMENT LLVM_PROFILE_FILE=${CMAKE_BINARY_DIR}/spectests-%p.profraw | ||
) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.