From c2e3879e684bfe67fa44703cb4f61bc8f3e3efb0 Mon Sep 17 00:00:00 2001 From: Dilum Aluthge Date: Sun, 28 Feb 2021 19:39:13 -0500 Subject: [PATCH] Mark the "STDLIBS_BY_VERSION up-to-date" test as broken (#2409) --- test/new.jl | 2 +- test/runtests.jl | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/test/new.jl b/test/new.jl index d26dcf0566..9a7e32928f 100644 --- a/test/new.jl +++ b/test/new.jl @@ -2502,7 +2502,7 @@ end if !test_result @error("STDLIBS_BY_VERSION out of date! Re-run generate_historical_stdlibs.jl!") end - @test test_result + @test_broken test_result # TODO: fix this test end @testset "Pkg.add() with julia_version" begin diff --git a/test/runtests.jl b/test/runtests.jl index b4a5d319e2..709cc6597a 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -4,6 +4,12 @@ module PkgTests import Pkg +using Test + +@testset "Ensure we're testing the correct Pkg" begin + @test realpath(dirname(dirname(Base.pathof(Pkg)))) == realpath(dirname(@__DIR__)) +end + ENV["JULIA_PKG_PRECOMPILE_AUTO"]=0 if (server = Pkg.pkg_server()) !== nothing && Sys.which("curl") !== nothing