Skip to content

Commit

Permalink
Merge pull request #148 from lhearachel/filesys-shasums
Browse files Browse the repository at this point in the history
Test checksums of all filesystem entries on build
  • Loading branch information
lhearachel authored Feb 12, 2024
2 parents 2655297 + a454546 commit a793b29
Show file tree
Hide file tree
Showing 4 changed files with 348 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gen_compile_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@
f'-I{homedir}/lib/spl/include',
f'-iquote{homedir}',
f'-iquote{homedir}/include',
f'-iquote{homedir}/build', # Meson includes this implicitly
f'-iquote{homedir}/build/res/text', # GMM-generated headers
f'-include{homedir}/include/pch/global_pch.h',
'-mthumb',
'-o',
Expand Down
5 changes: 5 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,11 @@ test('SBIN Checksums',
args: ['-c', '--quiet', sbins_sha1]
)

test('Filesystem Checksums',
sha1sum,
args: ['-c', '--quiet', filesys_sha1]
)

test('ROM Checksum',
sha1sum,
args: ['-c', '--quiet', rom_sha1]
Expand Down
Loading

0 comments on commit a793b29

Please sign in to comment.