Merge d594b3f02c8ddc4c8c4c69e4f8ff9cd73556a62b into caa2dd11a0db42e5d6130f627dd15ef404b7597d

This commit is contained in:
Pratham 2024-07-09 22:03:37 -07:00 committed by GitHub
commit 0bd5122ff5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -71,7 +71,8 @@ test_header_presence() {
TEST_CFLAGS="-E -M $CFLAGS"
file="$1"
file_define=NV_`echo $file | tr '/.\-a-z' '___A-Z'`_PRESENT
# Replace '.', '/', '-' with '_'
file_define=NV_`echo $file | awk '{ gsub(/\.|\/|-/, "_", $1); print toupper($0) }'`_PRESENT
CODE="#include <$file>"