Skip to content

Conversation

@raiden00pl
Copy link
Member

@raiden00pl raiden00pl commented Dec 5, 2025

Summary

minor issues for testing tools:

  • testing/cachetest: fix compilation error for arm64
  • testing/memtester: add memtester.zip to gitignore
  • testing/memtester: fix build error for cmake
  • testing/ltp: add ltp zip file to gitignore

Impact

fix some issues I found with automated tests

Testing

build with cmake

fix compilation error:

cachetest_main.c:37:26: error: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Werror=format=]
   37 | #define CACHETEST_PREFIX "CACHE Test: "
      |                          ^~~~~~~~~~~~~~
cachetest_main.c:150:20: note: in expansion of macro 'CACHETEST_PREFIX'
  150 |   syslog(LOG_INFO, CACHETEST_PREFIX "waddr:%p, uncacheble addr start:%p,"
      |                    ^~~~~~~~~~~~~~~~
cachetest_main.c:151:17: note: format string is defined here
  151 |          "size:%u\n", info->waddr,
      |                ~^
      |                 |
      |                 unsigned int
      |                %lu

Signed-off-by: raiden00pl <raiden00@railab.me>
add memtester.zip to gitignore

Signed-off-by: raiden00pl <raiden00@railab.me>
fix broken CMakeLists.txt for memtester

Signed-off-by: raiden00pl <raiden00@railab.me>
add ltp zip file to gitignore

Signed-off-by: raiden00pl <raiden00@railab.me>
@simbit18 simbit18 merged commit 641f7ce into apache:master Dec 5, 2025
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants