Skip to content

Commit

Permalink
add unit test start up script (OpenAtomFoundation#1538)
Browse files Browse the repository at this point in the history
* test: add unit test script
  • Loading branch information
chenbt-hz authored May 21, 2023
1 parent d4963be commit 7c45eb2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pikatests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
rm -rf ./log
rm -rf .db
cp output/pika src/redis-server
cp conf/pika.conf tests/assets/default.conf

tclsh tests/test_helper.tcl --clients 1 --single unit/$1
rm src/redis-server
rm -rf ./log
rm -rf ./db

0 comments on commit 7c45eb2

Please sign in to comment.