Using test instead of example
@@ -21,17 +21,16 @@ requirements:
test:
source_files:
- - source/examples
+ - source/test
requires:
- {{ compiler('cxx') }}
- {{ compiler('fortran') }}
commands:
# Workaround for lack of CONDA_BUILD_SYSROOT variable in staged recipes
- export CONDA_BUILD_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk # [osx]
- - cd source/examples/BasicExamples
- - ${CXX} HepMC3_fileIO_example.cc -o HepMC3_fileIO_example.exe -I${CONDA_PREFIX}/include -L${CONDA_PREFIX}/lib -lHepMC3
- - ./HepMC3_fileIO_example.exe ../RootIOExample/example.hepmc3 output.hepmc3
- - diff ../RootIOExample/example.hepmc3 output.hepmc3
+ - cd source/test
+ - ${CXX} testMass.cc -o testMass.exe -I${CONDA_PREFIX}/include -L${CONDA_PREFIX}/lib -lHepMC3
+ - ./testMass.exe
about:
home: https://hepmc.web.cern.ch/hepmc/
