summaryrefslogtreecommitdiff
path: root/libbindgen/tests
diff options
context:
space:
mode:
authorNick Fitzgerald <fitzgen@gmail.com>2016-12-09 12:38:13 -0800
committerNick Fitzgerald <fitzgen@gmail.com>2016-12-09 12:41:08 -0800
commit13090288cbb348c46368e7c990a859765adbf9cb (patch)
tree7f39e6cec2d154ab2c2f4f267a82866aa07cb469 /libbindgen/tests
parent233c4bcd31c98ba4d4a80223778fb4bbb9f6e3ee (diff)
Use a shared workspace for bindgen, libbindgen, and test_expectations
Diffstat (limited to 'libbindgen/tests')
-rw-r--r--libbindgen/tests/expectations/Cargo.toml1
-rw-r--r--libbindgen/tests/tests.rs2
2 files changed, 2 insertions, 1 deletions
diff --git a/libbindgen/tests/expectations/Cargo.toml b/libbindgen/tests/expectations/Cargo.toml
index 53f1b14f..0980c564 100644
--- a/libbindgen/tests/expectations/Cargo.toml
+++ b/libbindgen/tests/expectations/Cargo.toml
@@ -7,5 +7,6 @@ authors = [
"Emilio Cobos Álvarez <ecoal95@gmail.com>",
"The Servo project developers",
]
+workspace = "../../.."
[dependencies]
diff --git a/libbindgen/tests/tests.rs b/libbindgen/tests/tests.rs
index e4a62523..12816c1b 100644
--- a/libbindgen/tests/tests.rs
+++ b/libbindgen/tests/tests.rs
@@ -7,7 +7,7 @@ use std::fs;
use std::io::{BufRead, BufReader, Error, ErrorKind, Read, Write};
use std::path::PathBuf;
-#[path="../../src/options.rs"]
+#[path="../../bindgen/src/options.rs"]
mod options;
use options::builder_from_flags;