The primary purpose of these proposed changes is to ensure that the "tinytests" target in testdir/Make_ming.mak can be run correctly regardless of the 'fileformat' property of the .in and .ok files in the workspace. If the fileformat of the test.out file is not the same as the fileformat of the .ok file, diff will report differences and the test will fail. This becomes possible if git-checkout changes line endings.
The first commit prevents test22 from failing if does not have CRLF line endings. With this change, the fileformat change made to .in files in Make_ming.mak is no longer necessary and can be removed.
The remaining commits change Make_ming.mak so that:
With syntax changes, I think these changes to Make_ming.mak are appropriate for Make_dos.mak as well.
https://github.com/vim/vim/pull/6993
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.![]()
Merging #6993 into master will decrease coverage by
0.59%.
The diff coverage isn/a.
@@ Coverage Diff @@ ## master #6993 +/- ## ========================================== - Coverage 88.58% 87.99% -0.60% ========================================== Files 148 147 -1 Lines 161528 160681 -847 ========================================== - Hits 143096 141396 -1700 - Misses 18432 19285 +853
| Impacted Files | Coverage Δ | |
|---|---|---|
| src/libvterm/src/rect.h | 0.00% <0.00%> (-96.56%) |
⬇️ |
| src/libvterm/src/state.c | 49.49% <0.00%> (-40.50%) |
⬇️ |
| src/libvterm/include/vterm.h | 0.00% <0.00%> (-37.50%) |
⬇️ |
| src/libvterm/src/pen.c | 50.73% <0.00%> (-33.93%) |
⬇️ |
| src/libvterm/src/keyboard.c | 55.78% <0.00%> (-32.64%) |
⬇️ |
| src/libvterm/src/encoding.c | 44.55% <0.00%> (-27.73%) |
⬇️ |
| src/libvterm/src/vterm.c | 48.13% <0.00%> (-18.54%) |
⬇️ |
| src/libvterm/src/parser.c | 84.31% <0.00%> (-10.79%) |
⬇️ |
| src/libvterm/src/mouse.c | 41.66% <0.00%> (-6.67%) |
⬇️ |
| src/screen.c | 83.99% <0.00%> (-2.53%) |
⬇️ |
| ... and 30 more |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered by Codecov. Last update 10e4f12...2252ca9. Read the comment docs.
Looking at the github actions, which have three Mingw targets, they all still appear to use dostmp:
..\gvim -u dos.vim -U NONE --noplugin --not-a-term "+set ff=unix|f test.out|wq" dostmp\test26.out
Is this using src/testdir/Make_dos.mak?
—
I do not see any reference to testdir/Make_ming.mak from any of the Makefiles in the src directory.
The src/Make_cyg_ming.mak file does not even have a "test" target.
Only src/Make_mvc.mak refers to testdir/Make_dos.mak.
Have you been using testdir/Make_ming.mak only directly?
—
You are receiving this because you commented.
—
You are receiving this because you commented.
The tests and test procedure are not broken and so changes are not needed.
—
You are receiving this because you commented.