Skip to content

Commit

Permalink
The incorrect production test script for the Z20 FPGA model was fixed.
Browse files Browse the repository at this point in the history
The Z10 production test script was copied instead of the Z20 production test script.
  • Loading branch information
KonstantinSudakov committed Nov 27, 2018
1 parent 4ff5b4c commit e4df778
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export VERSION
################################################################################

# Production test script
FPGA_MODEL ?= Z10
ENABLE_PRODUCTION_TEST ?= 0

all: sdr api nginx scpi examples rp_communication apps-tools apps-pro apps-free-vna production_test
Expand Down Expand Up @@ -443,7 +444,7 @@ production_test:
ifeq ($(ENABLE_PRODUCTION_TEST), 1)
$(MAKE) -C $(PRODUCTION_TEST_DIR) clean
$(MAKE) -C $(PRODUCTION_TEST_DIR) INSTALL_DIR=$(abspath $(INSTALL_DIR))
$(MAKE) -C $(PRODUCTION_TEST_DIR) install INSTALL_DIR=$(abspath $(INSTALL_DIR))
$(MAKE) -C $(PRODUCTION_TEST_DIR) install INSTALL_DIR=$(abspath $(INSTALL_DIR)) MODEL=$(FPGA_MODEL)
endif

clean:
Expand Down
9 changes: 8 additions & 1 deletion Test/production/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
INSTALL_DIR ?= .
BINARY_FILES = production_testing_script.sh calibration_script.sh delete_MAC.sh
BINARY_FILES = calibration_script.sh delete_MAC.sh
TEXT_FILES = environment_parameters.txt
PRODUCTION_TESTING_SCRIPT = production_testing_script.sh
MODEL ?= Z10

ifeq ($(MODEL), Z20)
PRODUCTION_TESTING_SCRIPT = production_testing_script_z20.sh
endif

all:

Expand All @@ -9,4 +15,5 @@ clean:
install:
mkdir -p $(INSTALL_DIR)/bin
cp $(BINARY_FILES) $(INSTALL_DIR)/bin
cp $(PRODUCTION_TESTING_SCRIPT) $(INSTALL_DIR)/bin/production_testing_script.sh
cp $(TEXT_FILES) $(INSTALL_DIR)

0 comments on commit e4df778

Please sign in to comment.