mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-15 08:34:30 +02:00
8174691: [TESTBUG] A number of native hotspot unit tests fail when executed in stand-alone mode
Reviewed-by: kvn, tschatzl
This commit is contained in:
parent
4ab515f85c
commit
65091f8c6d
4 changed files with 21 additions and 17 deletions
|
@ -65,7 +65,7 @@ TEST(SpinYield, two_yields) {
|
|||
check_report(&spinner, "yields = 2");
|
||||
}
|
||||
|
||||
TEST(SpinYield, one_sleep) {
|
||||
TEST_VM(SpinYield, one_sleep) {
|
||||
SpinYield spinner(0, 0);
|
||||
spinner.wait();
|
||||
|
||||
|
@ -77,7 +77,7 @@ TEST(SpinYield, one_sleep) {
|
|||
ASSERT_TRUE(strncmp(expected, buffer, strlen(expected)) == 0);
|
||||
}
|
||||
|
||||
TEST(SpinYield, one_spin_one_sleep) {
|
||||
TEST_VM(SpinYield, one_spin_one_sleep) {
|
||||
SpinYield spinner(1, 0);
|
||||
spinner.wait();
|
||||
spinner.wait();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue