Skip to content

Commit

Permalink
Record perf tests, add account selector test
Browse files Browse the repository at this point in the history
Signed-off-by: 35V LG84 <[email protected]>
  • Loading branch information
35VLG84 committed Dec 25, 2024
1 parent 6faf699 commit 8671324
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/sh/audit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ echo ": ok"
# audit-1E2-03
#
# test: b2ea4102-40a2-46e5-aca3-398cf4849058
# plain filter definition
# test: 515ba0be-b571-4a7f-a2a3-28dc1e545228
rm -f $OUTPUT_DIR/*
test_name=audit-1E2-03
echo "test: $module/$test_name: "
Expand Down Expand Up @@ -276,6 +278,8 @@ echo ": ok"
# audit-1E2-08
#
# test: 85d16b5a-cde9-40d3-9a37-3b7ba7ee7049
# base64 filter definition
# test: 8bbe1d2a-8548-49cf-9d8b-942242b882bd
rm -f $OUTPUT_DIR/*
test_name=audit-1E2-08
echo "test: $module/$test_name: "
Expand Down
12 changes: 12 additions & 0 deletions tests/sh/perf.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# #!/bin/bash
#
# This is not a real performance test, see
# $tackler-ng/perf -directory for the actual setup
#
# test: f6ee1b19-c16d-4219-a9cb-3252a38834ee
# desc: 1E3 tests
#
# test: 66b32e8b-ce65-4dc1-9108-5ee5cd009cd3
# desc: 1E6 tests

exit 0
24 changes: 24 additions & 0 deletions tests/sh/reporting-ok.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,27 @@ cmp_result $module ${test_name} txt reg
cmp_result $module ${test_name} txn equity
cmp_result $module ${test_name} txn identity
echo ": ok"

#####################################################################
#
# rep-01
#
# test: c6da0aef-125f-4d33-9780-ffaa9e724499
rm -f $OUTPUT_DIR/*
test_name=rep-01
echo "test: $module/$test_name: "

$TACKLER_SH \
--config $SUITE_PATH/$module/ok.toml \
--input.file $SUITE_PATH/$module/ok/reporting.txn \
--output.dir $OUTPUT_DIR \
--output.prefix ${test_name} \

echo -n "check:"
cmp_result $module ${test_name} txt bal
cmp_result $module ${test_name} txt balgrp
cmp_result $module ${test_name} txt reg
cmp_result $module ${test_name} txn equity
cmp_result $module ${test_name} txn identity
echo ": ok"

0 comments on commit 8671324

Please sign in to comment.