public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/julia] f45: Reenable tests that work now
@ 2026-11-09 13:09 Milan Bouchet-Valat
  0 siblings, 0 replies; only message in thread
From: Milan Bouchet-Valat @ 2026-11-09 13:09 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/julia
Branch : f45
Commit : 77f7743b039967a941d1bf9c3559bd26b0dabc36
Author : Milan Bouchet-Valat <nalimilan@club.fr>
Date   : 2026-11-09T14:09:02+01:00
Stats  : +4/-6 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/julia/c/77f7743b039967a941d1bf9c3559bd26b0dabc36?branch=f45

Log:
Reenable tests that work now

---
diff --git a/julia.spec b/julia.spec
index be64867..879b505 100644
--- a/julia.spec
+++ b/julia.spec
@@ -275,9 +275,6 @@ sed "s/libopenlibm.so.*\"/$(cd %{_libdir} && ls libopenlibm.so.?)\"/" -i stdlib/
 sed "s/libgit2.so.*\"/$(cd %{_libdir} && ls -1 libgit2.so.?.? | sort -nr | head -n1)\"/" -i stdlib/LibGit2_jll/src/LibGit2_jll.jl
 sed "/VersionNumber/s/v\".*\"/v\"$(pkg-config --modversion libgit2)\"/" -i stdlib/LibGit2_jll/test/runtests.jl
 
-# Disable test that fails because Julia process doesn't error as expected
-sed "s/mktempdir() do pfx/false \&\& mktempdir() do pfx/" -i Compiler/test/codegen.jl
-
 # Increase tolerance as times on build machines are not very reliable
 sed "s/after_comp - before_comp < 6_000_000_000/after_comp - before_comp < 600_000_000_000/" -i test/misc.jl
 
@@ -324,14 +321,15 @@ ln -sf /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem %{_builddir}/%{buildsub
 # Disable tests that require Internet access
 sed "s/ipa = getipaddr()/error()/" -i test/choosetests.jl
 
+# Disable test that fails without Internet access
+# https://github.com/JuliaLang/julia/issues/64806
+sed -i "s/if Sys.islinux() && Sys.ARCH in (:i686, :x86_64)/if false/" test/cmdlineargs.jl
+
 # Too many threads/processes can trigger memory issues in cmdlineargs test
 %ifarch %{ix86}
 sed "s/cpu_threads = max(2\*cpu_threads, min(200, 10\*cpu_threads))/cpu_threads = 5/" -i test/cmdlineargs.jl
 %endif
 
-## Disable tests that fail on build machines (but not locally)
-sed -i 's/skip_tests = Set()/skip_tests = Set(["loading", "cmdlineargs"])/' test/choosetests.jl
-
 # Disable test that fails for some CPUs (apparently those who don't have two threads per core)
 sed -i "s/const AFFINITY_SUPPORTED = .*/const AFFINITY_SUPPORTED = false/" test/threads.jl
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-09 13:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-09 13:09 [rpms/julia] f45: Reenable tests that work now Milan Bouchet-Valat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox