Skip to content
This repository was archived by the owner on Nov 21, 2018. It is now read-only.

Commit f4be5e0

Browse files
committed
set crate name to include the patch name
expand the regex to permit things like `foo@010-bar`
1 parent 21376d1 commit f4be5e0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

process.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ for dir in $DIRS; do
3838
cd $RUST_DIR
3939
git show HEAD -s >$TIMES_DIR/raw/$dir$PATCH--$DATE--$i.log
4040
cd $START/$dir
41-
echo "rustc: ./$dir" >>$TIMES_DIR/raw/$dir$PATCH--$DATE--$i.log
41+
echo "rustc: ./$dir$PATCH" >>$TIMES_DIR/raw/$dir$PATCH--$DATE--$i.log
4242
make all$PATCH >>$TIMES_DIR/raw/$dir$PATCH--$DATE--$i.log
4343
echo "done" >>$TIMES_DIR/raw/$dir$PATCH--$DATE--$i.log
4444
done
@@ -49,7 +49,7 @@ for dir in $DIRS; do
4949

5050
cd $TIMES_DIR
5151
for PATCH in "${PATCHES[@]}"; do
52-
python $SCRIPTS_DIR/process.py "$dir$PATCH" "$DATE" 6
52+
python $SCRIPTS_DIR/process.py "$dir" "$PATCH" "$DATE" 6
5353
done
5454

5555
for PATCH in "${PATCHES[@]}"; do

scripts/process.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
re_commit = re.compile("commit (.*)")
1010
re_date = re.compile("Date: (.*)")
11-
re_rustc = re.compile("rustc: .*/([\w\-_\.]*)")
11+
re_rustc = re.compile("rustc: .*/([^/\s]*)")
1212
re_time_and_mem = re.compile("( *)time: ([0-9\.]*); rss: ([0-9]*)MB\s*(.*)")
1313
re_time = re.compile("( *)time: ([0-9\.]*)\s*(.*)")
1414
re_incremental_reuse = re.compile(" *incremental: re-using (\d+) out of (\d+) modules")

0 commit comments

Comments
 (0)