Closed smcv closed 2 months ago
With libsdl-org/SDL@231ea07 and libsdl-org/sdl2-compat@6981f82, I'm seeing this build-time test failure:
13: DEBUG: 09/17/24 11:33:14: ===== Test Suite 8: 'Log' started 13: DEBUG: 09/17/24 11:33:14: ----- Test Case 8.1: 'log_testHint' started 13: DEBUG: 09/17/24 11:33:14: Test Description: 'Check SDL_HINT_LOGGING functionality' 13: DEBUG: 09/17/24 11:33:14: Test Iteration 1: execKey 639200660210330998 13: DEBUG: 09/17/24 11:33:14: Assert 'SDL_SetHint(SDL_HINT_LOGGING, NULL)': Passed 13: DEBUG: 09/17/24 11:33:14: Assert 'SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO, "test")': Passed 13: WARN: 09/17/24 11:33:14: Assert 'Check result value, expected: 1, got: 0': Failed 13: DEBUG: 09/17/24 11:33:14: Assert 'SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_DEBUG, "test")': Passed 13: DEBUG: 09/17/24 11:33:14: Assert 'Check result value, expected: 0, got: 0': Passed 13: DEBUG: 09/17/24 11:33:14: Assert 'SDL_SetHint(SDL_HINT_LOGGING, "debug")': Passed 13: DEBUG: 09/17/24 11:33:14: Assert 'SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_DEBUG, "test")': Passed 13: WARN: 09/17/24 11:33:14: Assert 'Check result value, expected: 1, got: 0': Failed 13: DEBUG: 09/17/24 11:33:14: Assert 'SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_VERBOSE, "test")': Passed 13: DEBUG: 09/17/24 11:33:14: Assert 'Check result value, expected: 0, got: 0': Passed 13: DEBUG: 09/17/24 11:33:14: Assert 'SDL_SetHint(SDL_HINT_LOGGING, "system=debug")': Passed 13: DEBUG: 09/17/24 11:33:14: Assert 'SDL_LogMessage(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_DEBUG, "test")': Passed 13: DEBUG: 09/17/24 11:33:14: Assert 'Check result value, expected: 0, got: 0': Passed 13: DEBUG: 09/17/24 11:33:14: Assert 'SDL_LogMessage(SDL_LOG_CATEGORY_SYSTEM, SDL_LOG_PRIORITY_DEBUG, "test")': Passed 13: WARN: 09/17/24 11:33:14: Assert 'Check result value, expected: 1, got: 0': Failed 13: DEBUG: 09/17/24 11:33:14: Assert 'SDL_LogMessage(SDL_LOG_CATEGORY_SYSTEM, SDL_LOG_PRIORITY_VERBOSE, "test")': Passed 13: DEBUG: 09/17/24 11:33:14: Assert 'Check result value, expected: 0, got: 0': Passed 13: WARN: 09/17/24 11:33:14: Assert 'Check result value, expected: 1, got: 0': Failed 13: WARN: 09/17/24 11:33:14: Assert 'Check result value, expected: 1, got: 0': Failed 13: WARN: 09/17/24 11:33:14: Assert 'Check result value, expected: 1, got: 0': Failed 13: DEBUG: 09/17/24 11:33:14: Assert 'SDL_SetHint(SDL_HINT_LOGGING, "0=4,3=2,2=0,*=3")': Passed
Perhaps this needs updating for the addition of SDL_LOG_PRIORITY_TRACE, which throws off all the numeric values in SDL_HINT_LOGGING?
SDL_LOG_PRIORITY_TRACE
SDL_HINT_LOGGING
cc @slouken
Yep, sdl2-compat needs to be updated. It's on my TODO list.
With libsdl-org/SDL@231ea07 and libsdl-org/sdl2-compat@6981f82, I'm seeing this build-time test failure: