Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
move executable_mock module to the top-level
Browse files Browse the repository at this point in the history
  • Loading branch information
soenkehahn committed Apr 3, 2019
1 parent a1c37ee commit 55e054e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ extern crate memoffset;

pub mod cli;
pub mod context;
mod executable_mock;
mod recorder;
mod test_checker;
mod test_spec;
mod tracer;
pub mod utils;

use crate::context::Context;
use crate::executable_mock::ExecutableMock;
use crate::recorder::{hole_recorder::run_against_tests, Recorder};
use crate::test_checker::executable_mock;
use crate::test_checker::executable_mock::ExecutableMock;
use crate::test_spec::yaml::write_yaml;
use crate::test_spec::Tests;
use crate::tracer::stdio_redirecting::CaptureStderr;
Expand Down Expand Up @@ -98,7 +98,7 @@ pub fn run_main(context: &Context, args: &cli::Args) -> R<ExitCode> {
#[cfg(test)]
mod run_main {
use super::*;
use crate::test_checker::executable_mock;
use crate::executable_mock;
use test_utils::TempFile;

#[test]
Expand Down
4 changes: 2 additions & 2 deletions src/test_checker/mod.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
pub mod checker_result;
pub mod executable_mock;

use crate::context::Context;
use crate::executable_mock;
use crate::executable_mock::ExecutableMock;
use crate::test_spec;
use crate::test_spec::Test;
use crate::tracer::stdio_redirecting::Redirector;
use crate::tracer::{tracee_memory, SyscallMock};
use crate::utils::short_temp_files::ShortTempFile;
use crate::R;
use checker_result::CheckerResult;
use executable_mock::ExecutableMock;
use libc::{c_ulonglong, user_regs_struct};
use nix::sys::ptrace;
use nix::unistd::Pid;
Expand Down

0 comments on commit 55e054e

Please sign in to comment.