Skip to content

Commit

Permalink
tests: Update git dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Jan 16, 2025
1 parent d99619e commit 8842c33
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 11 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ serde = { version = "1.0.60", optional = true, default-features = false }
critical-section = { version = "1", optional = true }

[dev-dependencies]
test-helper = { git = "https://github.com/taiki-e/test-helper.git", branch = "main", features = ["std", "sys", "cpuinfo", "critical-section"] }
test-helper = { features = ["std", "sys", "cpuinfo", "critical-section"], git = "https://github.com/taiki-e/test-helper.git", branch = "main" }

build-context = "0.1"
crossbeam-utils = "=0.8.16" # The latest crossbeam-utils requires Rust 1.60
fastrand = "2"
paste = "1"
quickcheck = { default-features = false, git = "https://github.com/taiki-e/quickcheck.git", branch = "dev" } # https://github.com/BurntSushi/quickcheck/pull/304 + https://github.com/BurntSushi/quickcheck/pull/282 + https://github.com/BurntSushi/quickcheck/pull/296 + lower MSRV
quickcheck = { version = "1", default-features = false, git = "https://github.com/taiki-e/quickcheck.git", branch = "dev" } # https://github.com/BurntSushi/quickcheck/pull/304 + https://github.com/BurntSushi/quickcheck/pull/282 + https://github.com/BurntSushi/quickcheck/pull/296 + f16/f128 support + lower MSRV
serde_test = { git = "https://github.com/taiki-e/serde_test.git", branch = "dev" } # support {i,u}128
sptr = "0.3"
static_assertions = "1"
Expand Down
4 changes: 2 additions & 2 deletions bench/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ fallback = []
std = []

[dev-dependencies]
test-helper = { git = "https://github.com/taiki-e/test-helper.git", branch = "main", features = ["std", "sys", "cpuinfo", "critical-section"] }
test-helper = { features = ["std", "sys", "cpuinfo", "critical-section"], git = "https://github.com/taiki-e/test-helper.git", branch = "main" }

# atomic = "0.6"
build-context = "0.1"
criterion = { default-features = false, git = "https://github.com/taiki-e/criterion.rs.git", branch = "dev" } # reduce deps
crossbeam-utils = "0.8"
fastrand = "2"
paste = "1"
quickcheck = { default-features = false, git = "https://github.com/taiki-e/quickcheck.git", branch = "dev" } # https://github.com/BurntSushi/quickcheck/pull/304 + https://github.com/BurntSushi/quickcheck/pull/282 + https://github.com/BurntSushi/quickcheck/pull/296 + lower MSRV
quickcheck = { version = "1", default-features = false, git = "https://github.com/taiki-e/quickcheck.git", branch = "dev" } # https://github.com/BurntSushi/quickcheck/pull/304 + https://github.com/BurntSushi/quickcheck/pull/282 + https://github.com/BurntSushi/quickcheck/pull/296 + f16/f128 support + lower MSRV
static_assertions = "1"

[target.'cfg(unix)'.dev-dependencies]
Expand Down
3 changes: 1 addition & 2 deletions tests/avr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ publish = false
[dependencies]
portable-atomic = { path = "../..", features = ["float"] }

avr-device = "0.7"
paste = "1"
ufmt = "0.2"

[target.avr-unknown-gnu-atmega2560.dependencies]
arduino-hal = { git = "https://github.com/taiki-e/avr-hal.git", branch = "dev", features = ["arduino-mega2560"] }
arduino-hal = { features = ["arduino-mega2560"], git = "https://github.com/taiki-e/avr-hal.git", branch = "dev" }

[workspace]
resolver = "2"
Expand Down
3 changes: 3 additions & 0 deletions tests/avr/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#[path = "../../api-test/src/helper.rs"]
mod helper;

use arduino_hal::avr_device;
use portable_atomic::*;

#[avr_device::entry]
Expand Down Expand Up @@ -126,6 +127,8 @@ fn panic(info: &core::panic::PanicInfo<'_>) -> ! {
mod sim {
use core::fmt;

use arduino_hal::avr_device;

pub fn exit(_code: u32) -> ! {
// Note that there is no way to exit simavr with a non-zero exit code.
// https://github.com/buserror/simavr/issues/362
Expand Down
2 changes: 1 addition & 1 deletion tests/msp430/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ f64 = ["portable-atomic/float"]
portable-atomic = { path = "../.." }

msp430-rt = "0.4"
msp430f5529 = { git = "https://github.com/cr1901/msp430f5529", rev = "23946ef9bb0365caabd2c30ad14c2c9ab2d425c7", features = ["rt"] }
msp430f5529 = { features = ["rt"], git = "https://github.com/cr1901/msp430f5529.git", rev = "23946ef9bb0365caabd2c30ad14c2c9ab2d425c7" }
paste = "1"
ufmt = "0.2"

Expand Down
2 changes: 1 addition & 1 deletion tests/no-std-qemu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ portable-atomic = { path = "../..", features = ["float"] }

paste = "1"
semihosting = { version = "0.1", features = ["stdio", "panic-handler"] }
semihosting-no-std-test-rt = { git = "https://github.com/taiki-e/semihosting.git", rev = "3874a1e8a4904c04a1c0e1f32cab11e2b303aba6", features = ["qemu-system"] }
semihosting-no-std-test-rt = { features = ["qemu-system"], git = "https://github.com/taiki-e/semihosting.git", rev = "3874a1e8a4904c04a1c0e1f32cab11e2b303aba6" }

[workspace]
resolver = "2"
Expand Down
4 changes: 2 additions & 2 deletions tests/xtensa/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ portable-atomic = { path = "../..", features = ["float"] }
paste = "1"

[target.xtensa-esp32s2-none-elf.dependencies]
esp-println = { version = "0.12", default-features = false, features = ["uart", "esp32s2"] }
esp-hal = { git = "https://github.com/taiki-e/esp-hal.git", branch = "dev", features = ["esp32s2"] }
esp-println = { default-features = false, features = ["uart", "esp32s2"], git = "https://github.com/taiki-e/esp-hal.git", branch = "dev" }
esp-hal = { features = ["esp32s2"], git = "https://github.com/taiki-e/esp-hal.git", branch = "dev" }

[workspace]
resolver = "2"
Expand Down
2 changes: 1 addition & 1 deletion tests/xtensa/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ mod helper;
use esp_println::{print, println};
use portable_atomic::*;

#[esp_hal::entry]
#[esp_hal::main]
fn main() -> ! {
macro_rules! test_atomic_int {
($int_type:ident) => {
Expand Down

0 comments on commit 8842c33

Please sign in to comment.