Most of the Slide Hudson jobs are actually site-deployments to various internal machines that bootstrap the entire site and then run our PyUnit suite against the site.
- SCM: Git plugin (polls every minute) configured to be tied to one specific branch
| diff --git a/src/DummyTransaction.py b/src/DummyTransaction.py | |
| index 029f6bf..2abc3bb 100644 | |
| --- a/src/DummyTransaction.py | |
| +++ b/src/DummyTransaction.py | |
| @@ -32,20 +32,40 @@ class DummyResponse(object): | |
| def writeln(self, txt): | |
| write(txt) | |
| write('\n') | |
| + | |
| + def safeConvert(self, chunk): |
| #!/usr/bin/env python | |
| import HTMLParser | |
| import os | |
| import re | |
| import subprocess | |
| import sys | |
| import urllib | |
| PASTEBIN = 'http://pastebin' |
Most of the Slide Hudson jobs are actually site-deployments to various internal machines that bootstrap the entire site and then run our PyUnit suite against the site.
| class SuperDirective(OutputTest): | |
| def test1(self): | |
| tmpl1 = Template.compile(''' (99) | |
| #def foo: this is base foo | |
| #def bar(arg): super-''') | |
| tmpl2 = tmpl1.subclass(''' | |
| #implements dummy | |
| #def foo | |
| #super |
| <?xml version="1.0"?> | |
| <gtester> | |
| <testbinary path="test_libecc"> | |
| <binary file="test_libecc"/> | |
| <random-seed>R02S294d997074e0c2ed176651cbede1297b</random-seed> | |
| <testcase path="/libecc/ecc_new_keypair"> | |
| <duration>0.000019</duration> | |
| <status exit-status="0" n-forks="0" result="success"/> | |
| </testcase> | |
| <testcase path="/libecc/ecc_new_data"> |
| static PyObject *new_keypair(PyObject *self, PyObject *args, PyObject *kwargs) | |
| { | |
| char *pubkey, *privkey; | |
| PyObject *temp_state; | |
| ECC_State state; | |
| if (!PyArg_ParseTuple(args, "ssO", pubkey, privkey, temp_state)) | |
| return NULL; |
| <?xml version="1.0"?> | |
| <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
| <!-- I can't believe I have to do this --> | |
| <!-- Based on this code: | |
| http://geekswithblogs.net/Erik/archive/2008/04/01/120915.aspx | |
| --> | |
| <xsl:template name="strreplace"> | |
| <xsl:param name="string"/> |
| #include <stdbool.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <gcrypt.h> | |
| #include <glib.h> | |
| #define DEFAULT_DATA "This message will be signed\n" | |
| #define DEFAULT_SIG "$HPI?t(I*1vAYsl$|%21WXND=6Br*[>k(OR9B!GOwHqL0s+3Uq" |