update tests

This commit is contained in:
Chad Brokaw 2022-10-19 15:05:23 -04:00
parent 14247770aa
commit 73833eb7c3
3 changed files with 6 additions and 6 deletions

2
Cargo.lock generated
View file

@ -948,7 +948,7 @@ name = "piet-gpu-tests"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"bytemuck", "bytemuck",
"clap 2.34.0", "clap 3.2.22",
"kurbo 0.7.1", "kurbo 0.7.1",
"piet-gpu", "piet-gpu",
"piet-gpu-hal", "piet-gpu-hal",

View file

@ -10,7 +10,7 @@ edition = "2021"
default = ["piet-gpu"] default = ["piet-gpu"]
[dependencies] [dependencies]
clap = "2.33" clap = "3.2.22"
bytemuck = "1.7.2" bytemuck = "1.7.2"
kurbo = "0.7.1" kurbo = "0.7.1"
rand = "0.7.3" rand = "0.7.3"

View file

@ -42,27 +42,27 @@ fn main() {
let matches = App::new("piet-gpu-tests") let matches = App::new("piet-gpu-tests")
.arg( .arg(
Arg::with_name("verbose") Arg::with_name("verbose")
.short("v") .short('v')
.long("verbose") .long("verbose")
.help("Verbose reporting of results"), .help("Verbose reporting of results"),
) )
.arg( .arg(
Arg::with_name("groups") Arg::with_name("groups")
.short("g") .short('g')
.long("groups") .long("groups")
.help("Groups to run") .help("Groups to run")
.takes_value(true), .takes_value(true),
) )
.arg( .arg(
Arg::with_name("size") Arg::with_name("size")
.short("s") .short('s')
.long("size") .long("size")
.help("Size of tests") .help("Size of tests")
.takes_value(true), .takes_value(true),
) )
.arg( .arg(
Arg::with_name("n_iter") Arg::with_name("n_iter")
.short("n") .short('n')
.long("n_iter") .long("n_iter")
.help("Number of iterations") .help("Number of iterations")
.takes_value(true), .takes_value(true),