Add new case test_build_tizen2.4.case
authorJun Wang <junbill.wang@samsung.com>
Wed, 11 Oct 2017 10:39:17 +0000 (18:39 +0800)
committerJun Wang <junbill.wang@samsung.com>
Wed, 11 Oct 2017 10:39:17 +0000 (18:39 +0800)
cases/build/test_build_tizen2.4.case [new file with mode: 0644]
fixtures/conf/tizen2.4.cfg [new file with mode: 0644]

diff --git a/cases/build/test_build_tizen2.4.case b/cases/build/test_build_tizen2.4.case
new file mode 100644 (file)
index 0000000..ce93962
--- /dev/null
@@ -0,0 +1,19 @@
+<testcase>
+  <summary>test build with tizen2.4 profile</summary>
+  <fixtures>
+    <copy src="tools/create_proj" />
+    <copy src="conf/tizen2.4.cfg" />
+    <copy src="specs/fake.spec" />
+  </fixtures>
+  <steps><![CDATA[
+
+  ./create_proj fake.spec
+
+  #First run
+  gbs -c tizen2.4.cfg build fake  -A armv7l  
+  #second run using old chroot evn
+  sudo /bin/rm -rf ~/GBS-ROOT/local/repos 
+  gbs -c tizen2.4.cfg build fake  -A armv7l  
+  
+]]></steps>
+</testcase>
diff --git a/fixtures/conf/tizen2.4.cfg b/fixtures/conf/tizen2.4.cfg
new file mode 100644 (file)
index 0000000..ff380f3
--- /dev/null
@@ -0,0 +1,10 @@
+[general]
+profile = profile.2.4
+
+[profile.2.4]
+repos = repo.base.2.4
+[repo.base.2.4]
+url = http://download.tizen.org/snapshots/2.4-base/common/latest/repos/standard/packages/
+[repo.2.4]
+url = http://download.tizen.org/snapshots/2.4-mobile/common/latest/repos/target-TM1/packages/
+