Update results-safari config.
authorlforschler@apple.com <lforschler@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Jul 2016 20:33:33 +0000 (20:33 +0000)
committerlforschler@apple.com <lforschler@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Jul 2016 20:33:33 +0000 (20:33 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@203185 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Websites/test-results/php.ini [new file with mode: 0644]
Websites/test-results/public/api/update-flakiness.php [new file with mode: 0644]

diff --git a/Websites/test-results/php.ini b/Websites/test-results/php.ini
new file mode 100644 (file)
index 0000000..7de5242
--- /dev/null
@@ -0,0 +1 @@
+memory_limit = 256M;
\ No newline at end of file
diff --git a/Websites/test-results/public/api/update-flakiness.php b/Websites/test-results/public/api/update-flakiness.php
new file mode 100644 (file)
index 0000000..5d399d3
--- /dev/null
@@ -0,0 +1,18 @@
+<?php
+
+include('../include/admin-header.php');
+include('../include/test-results.php');
+
+$build_id = intval($_GET['build']);
+
+$start_time = microtime(true);
+$affected_rows = update_flakiness_after_inserting_build($db, $build_id);
+$total_time = microtime(true) - $start_time;
+if ($total_time === NULL)
+    notice('Build not found');
+else
+    echo "Updated $affected_rows rows for build $build_id in $total_time seconds";
+
+include('../include/admin-footer.php');
+
+?>