Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
Bug 1268913: Fix test for existence of objcopy. r=ted
Browse files Browse the repository at this point in the history
If objcopt is not found, it is intentionaly set to semicolon. We compare
it to semicolon value for testing it for existence.
  • Loading branch information
Wander Lairson Costa committed May 26, 2016
1 parent fcab15a commit aaacdcf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions testing/testsuite-targets.mk
Original file line number Diff line number Diff line change
Expand Up @@ -300,10 +300,12 @@ stage-jetpack: make-stage-dir
CPP_UNIT_TEST_BINS=$(wildcard $(DIST)/cppunittests/*)

ifdef OBJCOPY
ifneq ($(OBJCOPY), :) # see build/autoconf/toolchain.m4:102 for why this is necessary
ifndef PKG_SKIP_STRIP
STRIP_CPP_TESTS := 1
endif
endif
endif

stage-cppunittests: make-stage-dir
$(NSINSTALL) -D $(PKG_STAGE)/cppunittest
Expand Down

0 comments on commit aaacdcf

Please sign in to comment.