Skip to content

Commit

Permalink
fix copy-test for mvcc
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Chi Z <[email protected]>
  • Loading branch information
skyzh committed Jan 29, 2024
1 parent cfbdde8 commit 53c73c8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion xtask/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,11 @@ fn sync() -> Result<()> {

fn copy_test_case(test: CopyTestAction) -> Result<()> {
use std::fmt::Write;
let src_dir = "mini-lsm/src/tests";
let src_dir = if test.week >= 3 {
"mini-lsm-mvcc/src/tests"
} else {
"mini-lsm/src/tests"
};
let target_dir = "mini-lsm-starter/src/tests";
if !Path::new(target_dir).exists() {
std::fs::create_dir(target_dir)?;
Expand Down

0 comments on commit 53c73c8

Please sign in to comment.