-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
ci: run oldtests in Appveyor #7705
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
src/nvim/testdir/Makefile
Outdated
test79.out \ | ||
|
||
else | ||
SCRIPTS ?= \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is a superset of the Windows list, can we append to it? Something like:
ifneq ($(OS),Windows_NT)
SCRIPTS := $(SCRIPTS) \
... \
...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the user wants to run one test only, doesn't that append the default tests?
I want to omit test17 and test32 in Windows by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I missed TESTNUM
which overrides SCRIPT
. I think we can append to it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, right. What about this:
SCRIPTS_DEFAULT = ...
ifneq ($(OS),Windows_NT)
SCRIPTS_DEFAULT := $(SCRIPTS_DEFAULT) \
...
endif
SCRIPTS ?= $(SCRIPTS_DEFAULT)
``
src/nvim/testdir/Makefile
Outdated
NVIM_PRG ?= ../../../build/bin/nvim.exe | ||
else | ||
NVIM_PRG ?= ../../../build/bin/nvim | ||
endif | ||
NVIM_PRG ?= ../../../build/bin/nvim |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't need this line now.
ci/build.bat
Outdated
@@ -53,6 +53,12 @@ bin\nvim --version || goto :error | |||
:: Functional tests | |||
mingw32-make functionaltest VERBOSE=1 || goto :error | |||
|
|||
:: Unit tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not "Unit" but "Old tests" or "Vim tests"
src/nvim/testdir/Makefile
Outdated
test14.out \ | ||
test24.out \ | ||
test37.out \ | ||
test40.out \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same indentation as before, to minimize the diff.
Merged, thanks @janlazo . Note that some tests are failing on AppVeyor (search for test13 was removed in 165ba3e, I removed it from the Makefile also. I forgot that |
Ref #7412
This patch is only for running legacy tests in
src/nvim/testdir
. I don't intend on adding vim patches here or fixing any legacy tests.