aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Levon <john.levon@nutanix.com>2021-02-10 16:39:58 +0000
committerGitHub <noreply@github.com>2021-02-10 16:39:58 +0000
commitd3651f5d30a0532f39da962b9e76ba8cbada6e6c (patch)
tree359fd34ef1be37c15ae3e654990cb59922873b1b /Makefile
parente6d6e0078a111c8a5bef5d0ed80f59b2efc3263f (diff)
downloadlibvfio-user-d3651f5d30a0532f39da962b9e76ba8cbada6e6c.zip
libvfio-user-d3651f5d30a0532f39da962b9e76ba8cbada6e6c.tar.gz
libvfio-user-d3651f5d30a0532f39da962b9e76ba8cbada6e6c.tar.bz2
fix pre-push build order (#326)
Re-order so we don't end up with an ASAN-enabled build at the end; purely for convenience. Signed-off-by: John Levon <john.levon@nutanix.com> Reviewed-by: Swapnil Ingle <swapnil.ingle@nutanix.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 2baaee8..9c15d88 100644
--- a/Makefile
+++ b/Makefile
@@ -64,13 +64,13 @@ test: all
cd $(BUILD_DIR)/test; ctest --verbose
pre-push: realclean
- make test CC=gcc
- make test CC=gcc BUILD_TYPE=rel
+ make test WITH_ASAN=1
make realclean
- make test CC=clang
make test CC=clang BUILD_TYPE=rel
+ make test CC=clang
make realclean
- make test WITH_ASAN=1
+ make test CC=gcc BUILD_TYPE=rel
+ make test CC=gcc
realclean:
rm -rf $(BUILD_DIR_BASE)