Page MenuHome

Build: add "make test" command for Windows
ClosedPublic

Authored by Brecht Van Lommel (brecht) on Sat, Sep 7, 6:15 PM.

Details

Summary

Equivalent of what we have on macOS and Linux.

Diff Detail

Repository
rB Blender

Event Timeline

minor suggestions, but if you commit as is, it's fine

build_files/utils/make_test.py
68

perhaps add a -O Debug/Release_testlog.txt ?

make.bat
66

Perhaps move this after the build so you can build/test in a single invocation?

This revision is now accepted and ready to land.Thu, Sep 12, 4:59 PM
build_files/utils/make_test.py
68

Will do.

make.bat
66

The problem then is, how do you run just the tests?

I prefer it the way it is now, also for consistency with GNUMakefile. But can see arguments both ways.

make.bat
66

You'd have to add nobuild to the invocation, which is gonna get annoying real quick, you're right just leave it as is, consistent across platforms and no annoying workarounds to stop it from building when you don't want it.