#!/bin/bash

SCRIPT_SRC="$(realpath ${BASH_SOURCE[0]})"
SCRIPT_DIR="$(dirname "${SCRIPT_SRC}")"

export CMAKE_FLAGS=-GNinja
export BUILD_TOOL=ninja
source ${SCRIPT_DIR}/common.sh

echo
echo "========================================"
echo "Running xc7 vendor tests (make all_xc7_diff_fasm)"
echo "----------------------------------------"
(
	cd build
	export VPR_NUM_WORKERS=${CORES}
	# Disabled until tested
	#ninja -j${MAX_CORES} all_xc7_diff_fasm
)
echo "----------------------------------------"

source ${SCRIPT_DIR}/package_results.sh

#!/bin/bash

SCRIPT_SRC="$(realpath ${BASH_SOURCE[0]})"
SCRIPT_DIR="$(dirname "${SCRIPT_SRC}")"

export CMAKE_FLAGS=-GNinja
export BUILD_TOOL=ninja
export XRAY_VIVADO_SETTINGS=/opt/Xilinx/Vivado/2017.2/settings64.sh
source ${SCRIPT_DIR}/common.sh
source third_party/prjxray/.github/kokoro/steps/xilinx.sh
echo
echo "========================================"
echo "Vivado version"
echo "----------------------------------------"
(
    source third_party/prjxray/utils/environment.sh
    $XRAY_VIVADO -version
)
echo "----------------------------------------"

echo
echo "========================================"
echo "Running xc7 vendor tests (make all_xc7_diff_fasm)"
echo "----------------------------------------"
(
	cd build
	export VPR_NUM_WORKERS=${CORES}
	# Running with -k0 to attempt all tests, and show which ones failed.
	ninja -k0 -j${MAX_CORES} all_xc7_diff_fasm
)
echo "----------------------------------------"

source ${SCRIPT_DIR}/package_results.sh

Enable all FASM diff tests, but let tests fail.
Enable all FASM diff tests, but let tests fail.

Signed-off-by: Keith Rothman <1bc19627a439baf17510dc2d0b2d250c96d445a5@users.noreply.github.com>
