Skip to content

Commit 628ba40

Browse files
committed
Force crash for Firebase
1 parent b4670ba commit 628ba40

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Ganary/objects/o_grc_test_starter/Create_0.gml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ _function_to_add_tests_and_hooks = function() {
4040

4141
if global.olympus_headless {
4242
if failed {
43+
//Force the app to crash so Firebase would report it as failure
44+
if os_type == os_ios || os_type == os_android{
45+
exception_unhandled_handler(function(ex){
46+
throw(ex)
47+
})
48+
}
4349
throw("Olympus test suite " + summary.name + " has failed!");
4450
}
4551
else{

0 commit comments

Comments
 (0)