Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
purr-data
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jonathan Wilkes
purr-data
Commits
2b4d0aa8
Commit
2b4d0aa8
authored
4 years ago
by
Jonathan Wilkes
Browse files
Options
Downloads
Plain Diff
Merge branch 'aggraef/purr-data-make-check-target'
parents
ef8650eb
1e8a2574
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!524
Add 'make check' to the top level Makefile.
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+38
-0
38 additions, 0 deletions
Makefile
with
38 additions
and
0 deletions
Makefile
+
38
−
0
View file @
2b4d0aa8
...
...
@@ -157,6 +157,44 @@ realclean:
git
checkout
.
git
clean
-dffx
-e
pd/nw/nw/
# Check targets. These run the regression tests in scripts.
# Requires a full build.
os
=
$(
shell
uname
|sed
's/^\(MINGW[0-9]*\)_NT.*/\1/'
)
# NOTE: For mingw64 the external tests report 2176 instead of the
# expected 2251 objects, which makes the 'check' target fail; you can
# have 'make' ignore such errors by invoking it as 'make -i check'.
ifeq
($(os),Linux)
# Linux (all flavors)
pdprog
=
packages/linux_make/build/usr/bin/pd-l2ork
else
ifeq
($(os),Darwin)
# Mac
pdprog
=
packages/darwin_app/build/
*
.app/Contents/Resources/app.nw/bin/pd-l2ork
else
ifeq
($(os),MINGW64)
# Msys2 mingw64
pdprog
=
packages/win64_inno/build/bin/pd.exe
else
ifeq
($(os),MINGW32)
# Msys2 mingw32
pdprog
=
packages/win32_inno/build/bin/pd.exe
endif
ifneq
($(pdprog),)
# This runs just a quick regression test, useful to see whether the program
# works at all.
check1
:
$(
pdprog
)
-noprefs
-nogui
-noaudio
-send
'init dollarzero $$0'
scripts/regression_tests.pd
# This runs the full test suite, including the test of the externals.
check
:
$(
pdprog
)
-noprefs
-nogui
-noaudio
-send
'init dollarzero $$0'
scripts/regression_tests.pd
$(
pdprog
)
-noprefs
-nostdpath
-nogui
-noaudio
scripts/external-tests.pd
else
check1 check
:
@
echo
"Target
$(
os
)
not recognized, can't run 'make
$@
'!"
;
false
endif
# Installation targets. These don't work on Mac and Windows right now, you
# should use the generated installers on these systems instead. Also,
# $(prefix) must be set. $(DESTDIR) is supported as well, so you can do staged
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment