Skip to content

Commit

Permalink
Use gmake on BSD.
Browse files Browse the repository at this point in the history
  • Loading branch information
yugr committed Dec 29, 2024
1 parent fe07ebb commit 42a7d16
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions scripts/travis.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

# Copyright 2019-2021 Yury Gribov
# Copyright 2019-2024 Yury Gribov
#
# Use of this source code is governed by MIT license that can be
# found in the LICENSE.txt file.
Expand All @@ -15,8 +15,13 @@ cd $(dirname $0)/..

export ASAN_OPTIONS='detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1:strict_string_checks=1'

make "$@" clean all
make "$@" check
MAKE=make
if uname | grep -q BSD; then
MAKE=gmake
fi

$MAKE "$@" clean all
$MAKE "$@" check

if test -n "${COVERAGE:-}"; then
# Collect DLL coverage
Expand Down

0 comments on commit 42a7d16

Please sign in to comment.