Skip to content

Commit 9b4dbb9

Browse files
authored
Merge pull request #7895 from github/cklin/upgrades-initial-dbscheme
Upgrade scripts testing: set initial dbschemes
2 parents 0f3d780 + a7f1ee5 commit 9b4dbb9

File tree

6 files changed

+3831
-1707
lines changed

6 files changed

+3831
-1707
lines changed

.gitattributes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@
5252
java/ql/test/stubs/**/*.java linguist-generated=true
5353
java/ql/test/experimental/stubs/**/*.java linguist-generated=true
5454

55+
# For some languages, upgrade script testing references really old dbscheme
56+
# files from legacy upgrades that have CRLF line endings. Since upgrade
57+
# resolution relies on object hashes, we must suppress line ending conversion
58+
# for those testing dbscheme files.
59+
*/ql/lib/upgrades/initial/*.dbscheme -text
60+
5561
# Generated test files - these are synced from the standard JavaScript libraries using
5662
# `javascript/ql/experimental/adaptivethreatmodeling/test/update_endpoint_test_files.py`.
5763
javascript/ql/experimental/adaptivethreatmodeling/test/endpoint_large_scale/autogenerated/**/*.js linguist-generated=true -merge

0 commit comments

Comments
 (0)