xref: /libCEED/python/tests/Makefile (revision d275d636ccaa61e594421fac80252590e7a77ccf)
1*d275d636SJeremy L Thompson# Copyright (c) 2017-2025, Lawrence Livermore National Security, LLC and other CEED contributors.
25aed82e4SJeremy L Thompson# All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
30ef72598Sjeremylt#
45aed82e4SJeremy L Thompson# SPDX-License-Identifier: BSD-2-Clause
50ef72598Sjeremylt#
65aed82e4SJeremy L Thompson# This file is part of CEED:  http://github.com/ceed
70ef72598Sjeremylt
80ef72598Sjeremyltclean:
90ef72598Sjeremylt	rm -rf build __pycache__ .pytest_cache *.so
100ef72598Sjeremylt
110ef72598Sjeremyltsetup:
120ef72598Sjeremylt	$(PYTHON) setup-qfunctions.py build
130ef72598Sjeremylt
140ef72598SjeremyltTEST_OPTS ?= --ceed /cpu/self/ref/serial
150ef72598Sjeremylttest: setup
160ef72598Sjeremylt	$(PYTHON) -m pytest test-*.py $(TEST_OPTS)
170ef72598Sjeremylt
180ef72598Sjeremylt.PHONY: clean setup test
19