xref: /libCEED/python/tests/Makefile (revision 5aed82e4fa97acf4ba24a7f10a35f5303a6798e0)
1*5aed82e4SJeremy L Thompson# Copyright (c) 2017-2024, Lawrence Livermore National Security, LLC and other CEED contributors.
2*5aed82e4SJeremy L Thompson# All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
30ef72598Sjeremylt#
4*5aed82e4SJeremy L Thompson# SPDX-License-Identifier: BSD-2-Clause
50ef72598Sjeremylt#
6*5aed82e4SJeremy 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