From 2fe831793623879503bdc8cf8b4834e39c0c0a91 Mon Sep 17 00:00:00 2001 From: Tej Chajed Date: Sat, 20 Jul 2024 13:06:18 -0500 Subject: [PATCH] Document how to test the working code --- README.md | 8 ++++++++ scripts/test.sh | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100755 scripts/test.sh diff --git a/README.md b/README.md index 94c1f23..13822b9 100644 --- a/README.md +++ b/README.md @@ -88,3 +88,11 @@ All the scripts for reproducing the results in the paper can be found in Run all the experiments with `./osdi23/scripts/all.sh`. The results will be generated in the CSV format under the `./exp` directory. + +## Developing + +To build the code that should be working, run + +``` +./scripts/test.sh +``` diff --git a/scripts/test.sh b/scripts/test.sh new file mode 100755 index 0000000..4fbb2af --- /dev/null +++ b/scripts/test.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +set -eu + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" + +cd "$DIR/.." +go test ./vmvcc ./vmvcc ./txnsite ./index ./tuple ./wrbuf ./tid ./config ./common ./examples ./examples/strnum