From 49148932f6c39c5ab03d0118800d380ed885e9cb Mon Sep 17 00:00:00 2001 From: Jan Mercl <0xjnml@gmail.com> Date: Fri, 17 Dec 2021 21:25:11 +0100 Subject: [PATCH] replace ':' in picture file names with '_' Windows builders cannot cope with the names, see: https://gitlab.com/cznic/builder/-/blob/7f7b643325ae0594da3e51f4d2fd63e392c47677/logs/win64 https://gitlab.com/cznic/builder/-/blob/7f7b643325ae0594da3e51f4d2fd63e392c47677/logs/win32 --- benchmark/bench_plot_test.go | 2 +- ...y:false.png => benchmarkInsert_memory_false.png} | Bin ...ory:true.png => benchmarkInsert_memory_true.png} | Bin ...y:false.png => benchmarkSelect_memory_false.png} | Bin ...ory:true.png => benchmarkSelect_memory_true.png} | Bin 5 files changed, 1 insertion(+), 1 deletion(-) rename benchmark/out/{benchmarkInsert_memory:false.png => benchmarkInsert_memory_false.png} (100%) rename benchmark/out/{benchmarkInsert_memory:true.png => benchmarkInsert_memory_true.png} (100%) rename benchmark/out/{benchmarkSelect_memory:false.png => benchmarkSelect_memory_false.png} (100%) rename benchmark/out/{benchmarkSelect_memory:true.png => benchmarkSelect_memory_true.png} (100%) diff --git a/benchmark/bench_plot_test.go b/benchmark/bench_plot_test.go index 0285894..e12f76d 100644 --- a/benchmark/bench_plot_test.go +++ b/benchmark/bench_plot_test.go @@ -95,7 +95,7 @@ func TestBenchmarkAndPlot(t *testing.T) { } // render graph into file - outputFilename := path.Join("out", fmt.Sprintf("%s_memory:%v.png", getFuncName(benchFunc), isMemoryDB)) + outputFilename := path.Join("out", fmt.Sprintf("%s_memory_%v.png", getFuncName(benchFunc), isMemoryDB)) if err := graph.Render(outputFilename); err != nil { log.Fatal(err) } diff --git a/benchmark/out/benchmarkInsert_memory:false.png b/benchmark/out/benchmarkInsert_memory_false.png similarity index 100% rename from benchmark/out/benchmarkInsert_memory:false.png rename to benchmark/out/benchmarkInsert_memory_false.png diff --git a/benchmark/out/benchmarkInsert_memory:true.png b/benchmark/out/benchmarkInsert_memory_true.png similarity index 100% rename from benchmark/out/benchmarkInsert_memory:true.png rename to benchmark/out/benchmarkInsert_memory_true.png diff --git a/benchmark/out/benchmarkSelect_memory:false.png b/benchmark/out/benchmarkSelect_memory_false.png similarity index 100% rename from benchmark/out/benchmarkSelect_memory:false.png rename to benchmark/out/benchmarkSelect_memory_false.png diff --git a/benchmark/out/benchmarkSelect_memory:true.png b/benchmark/out/benchmarkSelect_memory_true.png similarity index 100% rename from benchmark/out/benchmarkSelect_memory:true.png rename to benchmark/out/benchmarkSelect_memory_true.png