pathtracer-diff / dev /run_one.py
phanerozoic's picture
Per-texel albedo textures with bilinear-footprint adjoints
94f765e verified
Raw
History Blame
419 Bytes
"""Run a single test (argv[1] = pytest selector) against the local build."""
import os
import sys
ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.insert(0, ROOT)
import load_local
mod = load_local.load()
import kernels
kernels.get_kernel = lambda *a, **k: mod
import pytest
sys.exit(pytest.main([sys.argv[1], "-x", "-q", "--tb=long", "-p",
"no:cacheprovider"]))