Skip to content
Snippets Groups Projects
Commit ba9e053d authored by Mattia Mancini's avatar Mattia Mancini
Browse files

Add test for PMT

parent 4d105927
No related branches found
No related tags found
1 merge request!2Add PMT plugin
Pipeline #94046 passed
...@@ -24,14 +24,20 @@ test-pmt: ...@@ -24,14 +24,20 @@ test-pmt:
git git
libpython3-dev libpython3-dev
python3-pybind11 python3-pybind11
# install PMT
- git clone https://git.astron.nl/RD/pmt.git - git clone https://git.astron.nl/RD/pmt.git
- cmake -S pmt -B build -DPMT_BUILD_RAPL=ON -DPMT_BUILD_PYTHON=ON - cmake -S pmt -B build -DPMT_BUILD_RAPL=ON -DPMT_BUILD_PYTHON=ON -DCMAKE_INSTALL_PREFIX=$PWD/pmt-installed
- make -C build install - make -C build install
- export LD_LIBRARY_PATH=$PWD/pmt-installed/lib
- export PYTHONPATH=$(realpath $PWD/pmt-installed/lib/*/site-packages/)
# install dool
- git clone https://github.com/scottchiefbaker/dool.git - git clone https://github.com/scottchiefbaker/dool.git
- cd dool - cd dool
- python3 install.py - python3 install.py
# install dool plugins
- cd ..
- python3 install.py
script: script:
- dool --pmt rapl 1 1 > dool - dool --pmt rapl 1 1 | tee dool.out
- cat dool - if grep -q pmt "dool.out"; then exit 0; else exit 1; fi
- if grep -q pmt "dool"; then exit 0; else exit 1; fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment