Skip to content

Commit

Permalink
ignore failing unit tests on hl (HaxeFlixel#3175)
Browse files Browse the repository at this point in the history
* ignore failing unit tests on hl

* use new setup-flixel

* try running hl on macos-13

* remove apt-get, yolo

* test

* more tests

* revert yml

* d'oh!
  • Loading branch information
Geokureli committed Jun 11, 2024
1 parent c99df1f commit 00a45c8
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ jobs:
flixel-versions: dev
test-location: local
target: ${{matrix.target}}
run-tests: true
run-tests: true
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,8 @@ class FlxActionInputAnalogTest extends FlxTest

testInputStates(test, clear, move, [pos1, pos2, pos3, pos4], axis, a, b, c, d, callbacks);
}


#if hl @Ignore("makeFakeGamepad is failing on Hashlink #3140") #end
@Test
function testGamepad()
{
Expand Down
12 changes: 8 additions & 4 deletions tests/unit/src/flixel/input/actions/FlxActionInputDigitalTest.hx
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,8 @@ class FlxActionInputDigitalTest extends FlxTest
gamepad.update();
}
#end


#if hl @Ignore("makeFakeGamepad is failing on Hashlink #3140") #end
@Test
function testFlxGamepad()
{
Expand All @@ -454,7 +455,8 @@ class FlxActionInputDigitalTest extends FlxTest
t.assertTrue(btn + ".release2.value");
}
}


#if hl @Ignore("makeFakeGamepad is failing on Hashlink #3140") #end
@Test
function testFlxGamepadAny()
{
Expand All @@ -478,7 +480,8 @@ class FlxActionInputDigitalTest extends FlxTest
t.assertTrue(btn + ".any.release2.value");
}
}


#if hl @Ignore("makeFakeGamepad is failing on Hashlink #3140") #end
@Test
function testFlxGamepadCallbacks()
{
Expand Down Expand Up @@ -510,7 +513,8 @@ class FlxActionInputDigitalTest extends FlxTest
}
}
}


#if hl @Ignore("makeFakeGamepad is failing on Hashlink #3140") #end
@Test
function testFlxGamepadAnyCallbacks()
{
Expand Down
3 changes: 2 additions & 1 deletion tests/unit/src/flixel/input/actions/FlxActionManagerTest.hx
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,8 @@ class FlxActionManagerTest extends FlxTest

t.destroy();
}


#if hl @Ignore("makeFakeGamepad is failing on Hashlink #3140") #end
@Test
function testDeviceConnectedDisconnected()
{
Expand Down

0 comments on commit 00a45c8

Please sign in to comment.