[Libreoffice-commits] .: 2 commits - smoketestoo_native/losmoketest.py

Petr Mladek pmladek at kemper.freedesktop.org
Mon Oct 17 07:43:56 PDT 2011


 smoketestoo_native/losmoketest.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 45afb6635894a812701624ea092a9a812f048671
Author: Bernhard M. Wiedemann <bernhardout at lsmod.de>
Date:   Mon Oct 17 16:42:42 2011 +0200

    losmoketest.py: add pattern to download x86_64 rpms from master

diff --git a/smoketestoo_native/losmoketest.py b/smoketestoo_native/losmoketest.py
index f247b1a..8867fc2 100755
--- a/smoketestoo_native/losmoketest.py
+++ b/smoketestoo_native/losmoketest.py
@@ -203,7 +203,7 @@ def get_url_regexp(t, package, arch):
             reg = re.compile('\<a\ href=\"(master\~\d.*LibO-Dev_.*x86_install-rpm_en-US.tar.gz)\".*(\d{2}\-[a-zA-Z]{3}\-\d{4}).*(\d{2}:\d{2}).*')
         elif pck == "rpm" and arc == "x86_64":
             url = SERVER_URL + "/" + DAILY_MASTER_RPM_X86_64_PATH
-            reg = re.compile('^$') # No build yet
+            reg = re.compile('\<a\ href=\"(master\~\d.*LibO-Dev_.*x86-64_install-rpm_en-US.tar.gz)\".*(\d{2}\-[a-zA-Z]{3}\-\d{4}).*(\d{2}:\d{2}).*')
         elif pck == "deb" and arc == "x86":
             url = SERVER_URL + "/" + DAILY_MASTER_DEB_X86_PATH
             reg = re.compile('\<a\ href=\"(master\~\d.*LibO-Dev_.*x86_install-deb_en-US.tar.gz)\".*(\d{2}\-[a-zA-Z]{3}\-\d{4}).*(\d{2}:\d{2}).*')
commit 4c4d12b473bf696e69aaa59be236290185d09cf5
Author: Petr Mladek <pmladek at suse.cz>
Date:   Mon Oct 17 16:39:43 2011 +0200

    allow to execute losmoketest.py directly
    
    add exectuable rights; add #!/usr/bin/env python

diff --git a/smoketestoo_native/losmoketest.py b/smoketestoo_native/losmoketest.py
old mode 100644
new mode 100755
index e18c3f3..f247b1a
--- a/smoketestoo_native/losmoketest.py
+++ b/smoketestoo_native/losmoketest.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python
 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
 
 # The contents of this file are subject to the Mozilla Public License Version


More information about the Libreoffice-commits mailing list