shithub: libvpx

Download patch

ref: 51dba57cab7f62b1267df3117529b2e46b104a0f
parent: 8055ccf9068cac08b8f1203f92ee2249cc3a4926
parent: 21d3612a2f2e09d8cc76e696a181865744479dcd
author: John Koleszar <jkoleszar@google.com>
date: Thu Jul 12 05:22:01 EDT 2012

Merge snapshot 1 development history

Merge in the git history leading up to the first experimental
snapshot.

Change-Id: Ifbdbd5bdb585864b3f996c562ef38b6306731251

--- /dev/null
+++ b/all_builds.py
@@ -1,0 +1,43 @@
+#!/usr/bin/python
+
+import subprocess
+import sys
+
+def RunCommand(command):
+  run = subprocess.Popen(command, shell=True)
+  output = run.communicate()
+  if run.returncode:
+    print "Non-zero return code: " + str(run.returncode) + " => exiting!"
+    sys.exit(1)
+
+def list_of_experiments():
+  experiments = []
+  configure_file = open("configure")
+  list_start = False
+  for line in configure_file.read().split("\n"):
+    if line == 'EXPERIMENT_LIST="':
+      list_start = True
+    elif line == '"':
+      list_start = False
+    elif list_start:
+      currently_broken = ["csm"]
+      experiment = line[4:]
+      if experiment not in currently_broken:
+        experiments.append(experiment)
+  return experiments
+
+def main():
+  base_command = "./configure --enable-internal-stats"
+  test_build(base_command)
+  for experiment_name in list_of_experiments():
+    test_build("%s --enable-experimental --enable-%s" % (base_command,
+      experiment_name))
+
+def test_build(configure_command):
+  print "\033[34m\033[47mTesting %s\033[0m" % (configure_command)
+  RunCommand(configure_command)
+  RunCommand("make clean")
+  RunCommand("make")
+
+if __name__ == "__main__":
+  main()