diff --git a/test/test_derivative.jl b/test/test_derivative.jl index df8cdbe..bc9ffef 100644 --- a/test/test_derivative.jl +++ b/test/test_derivative.jl @@ -12,7 +12,7 @@ function test_derivative(backend=CPU) NT = 4 U = Gaugefield{CPU,Float64,WilsonGaugeAction}(NX, NY, NZ, NT, 6.0) random_gauges!(U) - # filename = "./test/testconf.txt" + # filename = pkgdir(MetaQCD, "test", "testconf.txt") # load_config!(BridgeFormat(), U, filename); if backend !== CPU U = MetaQCD.to_backend(backend, U) diff --git a/test/test_fderivative.jl b/test/test_fderivative.jl index de9acd7..f452d3c 100644 --- a/test/test_fderivative.jl +++ b/test/test_fderivative.jl @@ -17,7 +17,7 @@ function test_fderivative( U = Gaugefield{CPU,Float64,WilsonGaugeAction}(NX, NY, NZ, NT, 6.0) random_gauges!(U) - # filename = "./test/testconf.txt" + # filename = pkgdir(MetaQCD, "test", "testconf.txt") # load_config!(BridgeFormat(), U, filename) if backend !== CPU U = MetaQCD.to_backend(backend, U) diff --git a/test/test_fermmeas.jl b/test/test_fermmeas.jl index e5c009c..097c1e0 100644 --- a/test/test_fermmeas.jl +++ b/test/test_fermmeas.jl @@ -4,7 +4,7 @@ function test_fermion_measurements(backend=CPU) println("SU3testmeas") NX = NY = NZ = NT = 4 U = Gaugefield{CPU,Float64,WilsonGaugeAction}(NX, NY, NZ, NT, 6.0) - filename = "./test/testconf.txt" + filename = pkgdir(MetaQCD, "test", "testconf.txt") # random_gauges!(U) load_config!(BridgeFormat(), U, filename) if backend !== CPU diff --git a/test/test_gflow.jl b/test/test_gflow.jl index 6831f30..3b5ee40 100644 --- a/test/test_gflow.jl +++ b/test/test_gflow.jl @@ -6,7 +6,7 @@ function test_gradflow(backend=CPU) NZ = 4 NT = 4 U = Gaugefield{CPU,Float64,WilsonGaugeAction}(NX, NY, NZ, NT, 6.0) - filename = "./test/testconf.txt" + filename = pkgdir(MetaQCD, "test", "testconf.txt") load_config!(BridgeFormat(), U, filename) if backend !== CPU U = MetaQCD.to_backend(backend, U) diff --git a/test/test_meas.jl b/test/test_meas.jl index 56a96eb..b60429c 100644 --- a/test/test_meas.jl +++ b/test/test_meas.jl @@ -5,7 +5,7 @@ function test_measurements(backend=CPU) NZ = 4 NT = 4 U = Gaugefield{CPU,Float64,WilsonGaugeAction}(NX, NY, NZ, NT, 6.0) - filename = "./test/testconf.txt" + filename = pkgdir(MetaQCD, "test", "testconf.txt") load_config!(BridgeFormat(), U, filename); if backend !== CPU U = MetaQCD.to_backend(backend, U)