1*0ef72598Sjeremylt# Copyright (c) 2017, Lawrence Livermore National Security, LLC. Produced at 2*0ef72598Sjeremylt# the Lawrence Livermore National Laboratory. LLNL-CODE-734707. All Rights 3*0ef72598Sjeremylt# reserved. See files LICENSE and NOTICE for details. 4*0ef72598Sjeremylt# 5*0ef72598Sjeremylt# This file is part of CEED, a collection of benchmarks, miniapps, software 6*0ef72598Sjeremylt# libraries and APIs for efficient high-order finite element and spectral 7*0ef72598Sjeremylt# element discretizations for exascale applications. For more information and 8*0ef72598Sjeremylt# source code availability see http://github.com/ceed. 9*0ef72598Sjeremylt# 10*0ef72598Sjeremylt# The CEED research is supported by the Exascale Computing Project 17-SC-20-SC, 11*0ef72598Sjeremylt# a collaborative effort of two U.S. Department of Energy organizations (Office 12*0ef72598Sjeremylt# of Science and the National Nuclear Security Administration) responsible for 13*0ef72598Sjeremylt# the planning and preparation of a capable exascale ecosystem, including 14*0ef72598Sjeremylt# software, applications, hardware, advanced system engineering and early 15*0ef72598Sjeremylt# testbed platforms, in support of the nation's exascale computing imperative. 16*0ef72598Sjeremylt 17*0ef72598Sjeremyltimport pytest 18*0ef72598Sjeremylt 19*0ef72598Sjeremylt# ------------------------------------------------------------------------------- 20*0ef72598Sjeremylt# Add --ceed command line argument 21*0ef72598Sjeremylt# ------------------------------------------------------------------------------- 22*0ef72598Sjeremylt 23*0ef72598Sjeremylt 24*0ef72598Sjeremyltdef pytest_addoption(parser): 25*0ef72598Sjeremylt parser.addoption("--ceed", action="store", default='/cpu/self/ref/blocked') 26*0ef72598Sjeremylt 27*0ef72598Sjeremylt 28*0ef72598Sjeremylt@pytest.fixture(scope='session') 29*0ef72598Sjeremyltdef ceed_resource(request): 30*0ef72598Sjeremylt ceed_resource = request.config.option.ceed 31*0ef72598Sjeremylt 32*0ef72598Sjeremylt return ceed_resource 33*0ef72598Sjeremylt 34*0ef72598Sjeremylt# ------------------------------------------------------------------------------- 35