xref: /libCEED/python/tests/Makefile (revision 70dc8078dbe287928145230e5a499c81da54eabb)
1# Copyright (c) 2017-2024, 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