github.com/dmaizel/tests@v0.0.0-20210728163746-cae6a2d9cee8/metrics/storage/fio-k8s/Makefile (about)

     1  #
     2  # Copyright (c) 2021 Intel Corporation
     3  #
     4  # SPDX-License-Identifier: Apache-2.0
     5  #
     6  
     7  MKFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
     8  MKFILE_DIR := $(dir $(MKFILE_PATH))
     9  
    10  build:
    11  	make -C $(MKFILE_DIR)/cmd/fiotest/ gomod
    12  	make -C $(MKFILE_DIR)/cmd/fiotest/ build
    13  
    14  test-report:
    15  	$(MKFILE_DIR)/scripts/dax-compare-test/report/gen-html-fio-report.sh $(MKFILE_DIR)/cmd/fiotest/test-results/
    16  
    17  test-report-interactive:
    18  	$(MKFILE_DIR)/scripts/dax-compare-test/report/run-docker-jupyter-server.sh $(MKFILE_DIR)/cmd/fiotest/test-results/
    19  
    20  test: build
    21  	make -C $(MKFILE_DIR)/cmd/fiotest/ run
    22  	make test-report
    23  
    24  run: build
    25  	make -C $(MKFILE_DIR)/scripts/dax-compare-test/ run