SGX target: fix std unit tests
This commit is contained in:
parent
2c8bbf50db
commit
f229422cc1
27 changed files with 236 additions and 94 deletions
|
@ -3801,7 +3801,7 @@ mod tests {
|
|||
});
|
||||
);
|
||||
|
||||
if cfg!(unix) {
|
||||
if cfg!(unix) || cfg!(all(target_env = "sgx", target_vendor = "fortanix")) {
|
||||
tp!("", "foo", "foo");
|
||||
tp!("foo", "bar", "foo/bar");
|
||||
tp!("foo/", "bar", "foo/bar");
|
||||
|
@ -3960,7 +3960,7 @@ mod tests {
|
|||
tfn!("foo", "bar", "bar");
|
||||
tfn!("foo", "", "");
|
||||
tfn!("", "foo", "foo");
|
||||
if cfg!(unix) {
|
||||
if cfg!(unix) || cfg!(all(target_env = "sgx", target_vendor = "fortanix")) {
|
||||
tfn!(".", "foo", "./foo");
|
||||
tfn!("foo/", "bar", "bar");
|
||||
tfn!("foo/.", "bar", "bar");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue