xref: /libCEED/python/tests/Makefile (revision 4f69910b6e3819988a1446e35e0e85e74672bc23)
1# Copyright (c) 2017-2025, Lawrence Livermore National Security, LLC and other CEED contributors.
2# All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
3#
4# SPDX-License-Identifier: BSD-2-Clause
5#
6# This file is part of CEED:  http://github.com/ceed
7
8clean:
9	rm -rf build __pycache__ .pytest_cache *.so
10
11setup:
12	$(PYTHON) setup-qfunctions.py build
13
14TEST_OPTS ?= --ceed /cpu/self/ref/serial
15test: setup
16	$(PYTHON) -m pytest test-*.py $(TEST_OPTS)
17
18.PHONY: clean setup test
19