зеркало из https://github.com/mozilla/rappor.git
Fixing the output of demo.sh
This commit is contained in:
Родитель
3eafbfb018
Коммит
41b43ff7ef
|
@ -43,7 +43,8 @@ The demo strings together the Python and R code. It:
|
|||
2. Runs it through the RAPPOR privacy-preserving reporting mechanisms
|
||||
3. Analyzes and plots the aggregated reports against the true input
|
||||
|
||||
The output is written to `_tmp/report.html`, and can be opened with a browser.
|
||||
The output is written to `_tmp/regtest/results.html`, and can be opened with a
|
||||
browser.
|
||||
|
||||
Dependencies
|
||||
------------
|
||||
|
|
4
demo.sh
4
demo.sh
|
@ -50,9 +50,9 @@ build() {
|
|||
|
||||
# Main entry point that is documented in README.md.
|
||||
run() {
|
||||
# Run all the test cases that start with "demo-", and write to "report.html".
|
||||
# (The original demo.sh used "report.html", so we're not changing the name.)
|
||||
# Run all the test cases that start with "demo".
|
||||
./regtest.sh run-seq '^demo' 1 F
|
||||
mv _tmp/regtest/results.html _tmp/regtest/report.html
|
||||
}
|
||||
|
||||
# TODO: Port these old bad cases to regtest_spec.py.
|
||||
|
|
|
@ -101,7 +101,6 @@ def main(argv):
|
|||
|
||||
for params in DEMO:
|
||||
rows.append(params)
|
||||
print >>sys.stderr, params
|
||||
|
||||
for row in rows:
|
||||
print ' '.join(row)
|
||||
|
|
Загрузка…
Ссылка в новой задаче