From d4869deb68d74d72898bfd6a82b0e532623a7cfd Mon Sep 17 00:00:00 2001 From: Omar Abdulla Date: Thu, 18 Sep 2025 20:16:57 +0300 Subject: [PATCH] Update the default values for the platforms --- crates/common/src/types/identifiers.rs | 4 +++- crates/config/src/lib.rs | 6 +++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/crates/common/src/types/identifiers.rs b/crates/common/src/types/identifiers.rs index 36eaaec..ee2b5ad 100644 --- a/crates/common/src/types/identifiers.rs +++ b/crates/common/src/types/identifiers.rs @@ -3,7 +3,9 @@ use schemars::JsonSchema; use serde::{Deserialize, Serialize}; use strum::{AsRefStr, Display, EnumString, IntoStaticStr}; -/// An enum of the platform identifiers of all of the platforms supported by this framework. +/// An enum of the platform identifiers of all of the platforms supported by this framework. This +/// could be thought of like the target triple from Rust and LLVM where it specifies the platform +/// completely starting with the node, the vm, and finally the compiler used for this combination. #[derive( Clone, Copy, diff --git a/crates/config/src/lib.rs b/crates/config/src/lib.rs index e7757a8..3f0c886 100644 --- a/crates/config/src/lib.rs +++ b/crates/config/src/lib.rs @@ -167,7 +167,11 @@ pub struct TestExecutionContext { pub working_directory: WorkingDirectoryConfiguration, /// The set of platforms that the differential tests should run on. - #[arg(short = 'p', long = "platform")] + #[arg( + short = 'p', + long = "platform", + default_value = "geth-evm-solc,revive-dev-node-polkavm-resolc" + )] pub platforms: Vec, /// A list of test corpus JSON files to be tested.