Skip to content

Commit

Permalink
extendrtests: color makes the log files tainted. auto seems
Browse files Browse the repository at this point in the history
to retain the color in rstudio, and also the log-files aren't
tainted with terminal codes
  • Loading branch information
CGMossa committed Feb 9, 2024
1 parent 5163b75 commit d8389c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/extendrtests/src/Makevars
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ all: C_clean
$(SHLIB): $(STATLIB)

$(STATLIB):
cargo build --lib --manifest-path=./rust/Cargo.toml --target-dir $(TARGET_DIR) --color=always
cargo build --lib --manifest-path=./rust/Cargo.toml --target-dir $(TARGET_DIR) --color=auto

C_clean:
rm -Rf $(SHLIB) $(STATLIB) $(OBJECTS)
Expand Down
2 changes: 1 addition & 1 deletion tests/extendrtests/src/Makevars.win
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ $(STATLIB):
# CARGO_LINKER is provided in Makevars.ucrt for R >= 4.2
export CARGO_TARGET_X86_64_PC_WINDOWS_GNU_LINKER="$(CARGO_LINKER)" && \
export LIBRARY_PATH="$${LIBRARY_PATH};$(CURDIR)/$(TARGET_DIR)/libgcc_mock" && \
cargo build --target=$(TARGET) --lib --manifest-path=./rust/Cargo.toml --target-dir $(TARGET_DIR) --color=always
cargo build --target=$(TARGET) --lib --manifest-path=./rust/Cargo.toml --target-dir $(TARGET_DIR) --color=auto

C_clean:
rm -Rf $(SHLIB) $(STATLIB) $(OBJECTS)
Expand Down

0 comments on commit d8389c3

Please sign in to comment.