Skip to content

Commit cbc5b67

Browse files
authored
Merge pull request #172 from intel-innersource/rdementi/collect-pcm-csv
test pcm csv output
2 parents e3151aa + 0a8c025 commit cbc5b67

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/ci-test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,9 @@ jobs:
5151
with:
5252
name: test-log-raw-tr-wi_ext-${{ github.sha }}
5353
path: build/bin/raw_tr_wi_ext.csv
54+
55+
- name: upload-artifact
56+
uses: actions/upload-artifact@v2
57+
with:
58+
name: pcm-csv-${{ github.sha }}
59+
path: build/bin/pcm.csv

tests/test.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ if [ "$?" -ne "0" ]; then
2222
exit 1
2323
fi
2424

25+
./pcm -r 0.1 -csv=pcm.csv -- sleep 5
26+
if [ "$?" -ne "0" ]; then
27+
echo "Error in pcm"
28+
exit 1
29+
fi
30+
2531
./pcm-memory -- sleep 1
2632
if [ "$?" -ne "0" ]; then
2733
echo "Error in pcm-memory"

0 commit comments

Comments
 (0)