Add smoke tests, enable JPV tests
This commit is contained in:
parent
e48091441c
commit
db477318a9
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1
|
9
gating.yaml
Normal file
9
gating.yaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- fedora-*
|
||||||
|
decision_contexts:
|
||||||
|
- bodhi_update_push_testing
|
||||||
|
- bodhi_update_push_stable
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/smoke.functional}
|
||||||
|
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/javapackages.functional}
|
17
plans/Smoke.java
Normal file
17
plans/Smoke.java
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
import com.sun.xml.fastinfoset.EncodingConstants;
|
||||||
|
import com.sun.xml.fastinfoset.stax.StAXDocumentParser;
|
||||||
|
import com.sun.xml.fastinfoset.stax.StAXDocumentSerializer;
|
||||||
|
import org.jvnet.fastinfoset.EncodingAlgorithmIndexes;
|
||||||
|
import org.jvnet.fastinfoset.VocabularyApplicationData;
|
||||||
|
|
||||||
|
public class Smoke
|
||||||
|
{
|
||||||
|
public static void main(String[] args)
|
||||||
|
{
|
||||||
|
System.out.println(EncodingConstants.class.getCanonicalName());
|
||||||
|
System.out.println(StAXDocumentParser.class.getCanonicalName());
|
||||||
|
System.out.println(StAXDocumentSerializer.class.getCanonicalName());
|
||||||
|
System.out.println(EncodingAlgorithmIndexes.class.getCanonicalName());
|
||||||
|
System.out.println(VocabularyApplicationData.class.getCanonicalName());
|
||||||
|
}
|
||||||
|
}
|
7
plans/javapackages.fmf
Normal file
7
plans/javapackages.fmf
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
summary: Run javapackages-specific tests
|
||||||
|
discover:
|
||||||
|
how: fmf
|
||||||
|
url: https://src.fedoraproject.org/tests/javapackages
|
||||||
|
ref: f39
|
||||||
|
execute:
|
||||||
|
how: tmt
|
17
plans/smoke.fmf
Normal file
17
plans/smoke.fmf
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
summary: Basic smoke test
|
||||||
|
prepare:
|
||||||
|
how: install
|
||||||
|
package:
|
||||||
|
- java-11-openjdk-devel
|
||||||
|
- xmvn-tools
|
||||||
|
discover:
|
||||||
|
how: shell
|
||||||
|
tests:
|
||||||
|
- name: /smoke/classpath-import
|
||||||
|
test: |
|
||||||
|
CLASSPATH+=":$(xmvn-resolve com.sun.xml.fastinfoset:FastInfoset)"
|
||||||
|
export CLASSPATH
|
||||||
|
/usr/lib/jvm/java-11-openjdk/bin/javac plans/Smoke.java
|
||||||
|
/usr/lib/jvm/java-11-openjdk/bin/java -cp "${CLASSPATH}:plans" Smoke
|
||||||
|
execute:
|
||||||
|
how: tmt
|
Loading…
Reference in New Issue
Block a user