all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andrew Jose <arnav.jose@gmail.com>
To: 66134@debbugs.gnu.org
Cc: Andrew Jose <arnav.jose@gmail.com>
Subject: [bug#66134] [PATCH 11/12] gnu: add patch for just
Date: Thu, 21 Sep 2023 18:14:57 +0530	[thread overview]
Message-ID: <20230921124458.580438-11-arnav.jose@gmail.com> (raw)
In-Reply-To: <20230921124458.580438-1-arnav.jose@gmail.com>

---
 gnu/packages/patches/just-remove-test.patch | 61 +++++++++++++++++++++
 1 file changed, 61 insertions(+)
 create mode 100644 gnu/packages/patches/just-remove-test.patch

diff --git a/gnu/packages/patches/just-remove-test.patch b/gnu/packages/patches/just-remove-test.patch
new file mode 100644
index 0000000000..1a0e9ade94
--- /dev/null
+++ b/gnu/packages/patches/just-remove-test.patch
@@ -0,0 +1,61 @@
+From f38e27675f320366dbfda02348c8f4731d55d464 Mon Sep 17 00:00:00 2001
+From: Andrew Jose <arnav.jose@gmail.com>
+Date: Thu, 21 Sep 2023 17:43:49 +0530
+Subject: [PATCH] remove broken tests
+
+---
+ tests/functions.rs | 15 ---------------
+ tests/string.rs    | 14 --------------
+ 2 files changed, 29 deletions(-)
+
+diff --git a/tests/functions.rs b/tests/functions.rs
+index 5511329..56f3c09 100644
+--- a/tests/functions.rs
++++ b/tests/functions.rs
+@@ -25,21 +25,6 @@ foo:
+   stderr:   format!("echo {} {} {} {}\n", target::arch(), target::os(), target::family(), num_cpus::get()).as_str(),
+ }
+ 
+-#[cfg(not(windows))]
+-test! {
+-  name:     env_var_functions,
+-  justfile: r#"
+-p := env_var('USER')
+-b := env_var_or_default('ZADDY', 'HTAP')
+-x := env_var_or_default('XYZ', 'ABC')
+-
+-foo:
+-  /bin/echo '{{p}}' '{{b}}' '{{x}}'
+-"#,
+-  stdout:   format!("{} HTAP ABC\n", env::var("USER").unwrap()).as_str(),
+-  stderr:   format!("/bin/echo '{}' 'HTAP' 'ABC'\n", env::var("USER").unwrap()).as_str(),
+-}
+-
+ #[cfg(not(windows))]
+ test! {
+   name: path_functions,
+diff --git a/tests/string.rs b/tests/string.rs
+index a7e0894..a9fc852 100644
+--- a/tests/string.rs
++++ b/tests/string.rs
+@@ -366,17 +366,3 @@ test! {
+   "#,
+   stdout: "\n\nfoo\\n\nbar",
+ }
+-
+-test! {
+-  name:     shebang_backtick,
+-  justfile: "
+-    x := `#!/usr/bin/env sh`
+-  ",
+-  stderr:   "
+-    error: Backticks may not start with `#!`
+-      |
+-    1 | x := `#!/usr/bin/env sh`
+-      |      ^^^^^^^^^^^^^^^^^^^
+-  ",
+-  status:   EXIT_FAILURE,
+-}
+-- 
+2.34.1
+
-- 
2.34.1





  parent reply	other threads:[~2023-09-21 13:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-21 12:41 [bug#66134] [PATCH 00/12] Add just Andrew Jose
2023-09-21 12:44 ` [bug#66134] [PATCH 01/12] gnu: add rust-executable-path-1 Andrew Jose
2023-09-21 12:44   ` [bug#66134] [PATCH 02/12] gnu: add rust-snafu-derive-0.7 Andrew Jose
2023-09-21 12:44   ` [bug#66134] [PATCH 03/12] gnu: add rust-snafu-0.7 Andrew Jose
2023-09-21 12:44   ` [bug#66134] [PATCH 04/12] gnu: add rust-lexiclean-0.0.1 Andrew Jose
2023-09-21 12:44   ` [bug#66134] [PATCH 05/12] gnu: add rust-strum-macros-0.24 Andrew Jose
2023-09-21 12:44   ` [bug#66134] [PATCH 06/12] gnu: add rust-strum-0.24 Andrew Jose
2023-09-21 12:44   ` [bug#66134] [PATCH 07/12] gnu: add rust-dotenvy-0.15 Andrew Jose
2023-09-21 12:44   ` [bug#66134] [PATCH 08/12] gnu: add rust-cradle-0.2 Andrew Jose
2023-09-21 12:44   ` [bug#66134] [PATCH 09/12] gnu: add rust-target-2 Andrew Jose
2023-09-21 12:44   ` [bug#66134] [PATCH 10/12] gnu: add rust-temptree-0.2 Andrew Jose
2023-09-21 12:44   ` Andrew Jose [this message]
2023-09-21 12:44   ` [bug#66134] [PATCH 12/12] gnu: add just Andrew Jose
2023-09-28 18:18 ` bug#66134: [PATCH 00/12] Add just Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230921124458.580438-11-arnav.jose@gmail.com \
    --to=arnav.jose@gmail.com \
    --cc=66134@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.