blob: 9576f938346603d5142f8552bd9f79094e43a63e [file] [log] [blame]
# Copyright (C) 2019-2022 The SymbiFlow Authors
#
# Use of this source code is governed by a ISC-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/ISC
#
# SPDX-License-Identifier: ISC
TESTS = pll
include $(shell pwd)/../../Makefile_test.common
json_test = python compare_output_json.py --json $(1)/$(1).json --golden $(1)/$(1).golden.json
define json_update =
$(1)_update_json:
python compare_output_json.py --json $(1)/$(1).json --golden $(1)/$(1).golden.json --update
endef
pll_verify = $(call json_test,pll) && test $$(grep "PASS" pll/pll.txt | wc -l) -eq 2