Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
ink
Commits
593b7183
Commit
593b7183
authored
Mar 11, 2020
by
Andrew Jones
Browse files
CI troubleshoot: completely remove trybuild
parent
f0c2de08
Pipeline
#82433
failed with stages
in 2 minutes and 14 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
core/derive/Cargo.toml
View file @
593b7183
...
...
@@ -19,7 +19,6 @@ synstructure = "0.12"
[dev-dependencies]
ink_core
=
{
path
=
".."
}
trybuild
=
"1.0.24"
[features]
default
=
["std"]
...
...
core/derive/tests/compile_tests.rs
deleted
100644 → 0
View file @
f0c2de08
// Copyright 2018-2019 Parity Technologies (UK) Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#[test]
fn
compile_tests
()
{
let
t
=
trybuild
::
TestCases
::
new
();
t
.pass
(
"tests/ui/pass/flush.rs"
);
t
.pass
(
"tests/ui/pass/allocate_using.rs"
);
t
.compile_fail
(
"tests/ui/fail/flush_empty_enum.rs"
);
t
.compile_fail
(
"tests/ui/fail/allocate_using_enum.rs"
);
}
lang/macro/Cargo.toml
View file @
593b7183
...
...
@@ -35,7 +35,6 @@ ink_core = { path = "../../core/" }
ink_lang
=
{
path
=
".."
,
default-features
=
false
,
features
=
["ink-generate-abi"]
}
type-metadata
=
{
git
=
"https://github.com/type-metadata/type-metadata.git"
,
default-features
=
false
,
features
=
["derive"]
}
trybuild
=
"1.0.24"
pretty_assertions
=
"0.6.1"
[lib]
...
...
lang/macro/tests/compile_tests.rs
deleted
100644 → 0
View file @
f0c2de08
// Copyright 2018-2019 Parity Technologies (UK) Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#[test]
fn
compile_tests
()
{
let
t
=
trybuild
::
TestCases
::
new
();
t
.pass
(
"tests/ui/pass/01-noop-contract.rs"
);
t
.pass
(
"tests/ui/pass/02-flipper-contract.rs"
);
t
.pass
(
"tests/ui/pass/03-incrementer-contract.rs"
);
t
.pass
(
"tests/ui/pass/04-erc20-contract.rs"
);
t
.pass
(
"tests/ui/pass/05-erc721-contract.rs"
);
t
.pass
(
"tests/ui/pass/06-non-ink-items.rs"
);
t
.pass
(
"tests/ui/pass/07-flipper-as-dependency.rs"
);
t
.compile_fail
(
"tests/ui/fail/01-constructor-returns.rs"
);
t
.compile_fail
(
"tests/ui/fail/02-missing-constructor.rs"
);
t
.compile_fail
(
"tests/ui/fail/03-invalid-version.rs"
);
t
.compile_fail
(
"tests/ui/fail/04-missing-message.rs"
);
t
.compile_fail
(
"tests/ui/fail/05-forbidden-idents.rs"
);
t
.compile_fail
(
"tests/ui/fail/07-constructor-missing-self.rs"
);
t
.compile_fail
(
"tests/ui/fail/08-constructor-self-ref.rs"
);
t
.compile_fail
(
"tests/ui/fail/09-constructor-self-val.rs"
);
t
.compile_fail
(
"tests/ui/fail/10-async-constructor.rs"
);
t
.compile_fail
(
"tests/ui/fail/11-unsafe-constructor.rs"
);
t
.compile_fail
(
"tests/ui/fail/12-const-constructor.rs"
);
t
.compile_fail
(
"tests/ui/fail/13-abi-constructor.rs"
);
t
.compile_fail
(
"tests/ui/fail/14-missing-storage-struct.rs"
);
t
.compile_fail
(
"tests/ui/fail/15-multiple-storage-structs.rs"
);
t
.compile_fail
(
"tests/ui/fail/16-storage-impl-ident-conflict.rs"
);
t
.compile_fail
(
"tests/ui/fail/17-conflicting-ink-markers.rs"
);
t
.compile_fail
(
"tests/ui/fail/18-conflicting-ink-markers-2.rs"
);
t
.compile_fail
(
"tests/ui/fail/19-unknown-struct-ink-marker.rs"
);
t
.compile_fail
(
"tests/ui/fail/20-unknown-method-marker.rs"
);
}
Andrew Jones
@ascjones
mentioned in commit
11eb4434
·
Mar 11, 2020
mentioned in commit
11eb4434
mentioned in commit 11eb4434e46a29032fd63b8e0fc2aa92501b16a2
Toggle commit list
Andrew Jones
@ascjones
mentioned in commit
00758069
·
Mar 12, 2020
mentioned in commit
00758069
mentioned in commit 00758069540eb462ed8f9ec8809a61bcb75786b0
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment